mirror of
https://github.com/wassname/kair_algorithms_draft.git
synced 2026-09-10 12:14:41 +08:00
Modified demo config and run demo script (#83)
* Add removed q_dot scaling factor * Refactored cubic function * Separate config and add run file. * Resolve flake8 issue * Resolve flake8 issue * Remove whitespace before ( issue
This commit is contained in:
@@ -114,7 +114,7 @@ if __name__ == "__main__":
|
||||
loss.backward()
|
||||
optimizer.step()
|
||||
|
||||
print ("[epoch: %d] loss: %f" % i, loss)
|
||||
print("[epoch: %d] loss: %f" % i, loss)
|
||||
|
||||
# eval
|
||||
eval_data = generate_wave_data(x_range, input_wave_nm, True, num_test_waves)
|
||||
|
||||
Reference in New Issue
Block a user