Commit f2760cf0 authored by Eva Lina Fesefeldt's avatar Eva Lina Fesefeldt
Browse files

Update Bilder zur rechten Seite des LGS

parent c6e274d9
......@@ -274,6 +274,13 @@ for epoch in range(number_of_epochs):
filename_loss = "results/incg_loss_before_newton" + str(epoch) + "_gamma_" + str(gamma[0]) + ".npy"
np.save(filename_loss, np.array([loss]))
filename_gradient = "results/incg_gradient_newton" + str(epoch) + "_gamma_" + str(gamma[0]) + ".npy"
np.save(filename_gradient, vector_trainable_shape_to_flat_shape(g))
filename_weights = "results/incg_weights_newton" + str(epoch) + "_gamma_" + str(gamma[0]) + ".npy"
np.save(filename_weights, vector_trainable_shape_to_flat_shape(x))
# Approximativ für den Newton-Schritt lösen mittels CG
m = 10
descent_dir = []
......
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