Open alqurri77 opened 2 months ago
I fixed the above errror by changing
plt.plot(f['proj_xcoord'], f['proj_ycoord'], marker='.')
in "plot_trajectory" in "plot_2D.py" to
my_x_p=f['proj_xcoord']
my_y_p=f['proj_ycoord']
plt.plot( np.array( my_x_p [:]), np.array(my_y_p [:]), marker='.')
it seems it works now. But I got the below chart:
But I was expecting something like the one in the paper:
How to get similar like the one in the paper.
Hi I'm trying to run the code but found the packages mentioned in README are too old, would be nice to know can you share a working requirements.txt ?
Best,
I tried to use "plot_trajectory" with te command: plot_trajectory.py --model resnet56 --model_folder /tmp/ahmed --dir_type weights --prefix landscape/loss-landscape-master/all_models/my_model --suffix .pth --max_epoch 14
But I got this error:
What does this error means?