Commit b8da1c47 authored by Philipp Arras's avatar Philipp Arras

Cleanup

parent 181d505a
Pipeline #78449 passed with stages
in 14 minutes and 2 seconds
......@@ -96,8 +96,6 @@ def _actual_energy_tester(pos, get_noisy_data, energy_initializer):
energy = energy_initializer(data)
grad = energy(lin).jac.adjoint(ift.full(energy.target, 1.))
results.append(_to_array((grad*grad.s_vdot(test_vec)).val))
print(energy)
print(grad)
res = np.mean(np.array(results), axis=0)
std = np.std(np.array(results), axis=0)/np.sqrt(Nsamp)
energy = energy_initializer(data)
......
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