Commit 484c290b authored by Martin Reinecke's avatar Martin Reinecke
Browse files

adjust

parent 58c71595
Pipeline #75286 passed with stages
in 8 minutes and 32 seconds
...@@ -73,7 +73,7 @@ if __name__ == '__main__': ...@@ -73,7 +73,7 @@ if __name__ == '__main__':
plt.pause(2.0) plt.pause(2.0)
plt.close() plt.close()
pos = ift.from_random('normal', ham.domain) pos = ift.from_random(ham.domain, 'normal')
MAP = ift.EnergyAdapter(pos, ham, want_metric=True) MAP = ift.EnergyAdapter(pos, ham, want_metric=True)
minimizer = ift.NewtonCG( minimizer = ift.NewtonCG(
ift.GradientNormController(iteration_limit=20, name='Mini')) ift.GradientNormController(iteration_limit=20, name='Mini'))
...@@ -86,7 +86,7 @@ if __name__ == '__main__': ...@@ -86,7 +86,7 @@ if __name__ == '__main__':
minimizer = ift.NewtonCG( minimizer = ift.NewtonCG(
ift.GradientNormController(iteration_limit=2, name='Mini')) ift.GradientNormController(iteration_limit=2, name='Mini'))
pos = ift.from_random('normal', ham.domain) pos = ift.from_random(ham.domain, 'normal')
plt.figure(figsize=[12, 8]) plt.figure(figsize=[12, 8])
for ii in range(15): for ii in range(15):
if ii % 3 == 0: if ii % 3 == 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment