Closed vietvo89 closed 2 years ago
When I tested it with a clean model "cifar_nat.pt", it worked. I properly guess it could be something wrong with models 0.25 and 1.0.
I am facing the same problem
Changing the environment from python=3.8.8
to python=3.6.13
solved the problem for me. @vietvo89 @motoight
Thank @Buhua-Liu, in fact, there are two ways of coping with this problem. One is to use python < 3.8 while the other way is to save the model as in #71 and #81
Hi
When loading "cifar_l2_0_5.pt", it was successful.
But I could not load model "cifar_l2_0_25.pt" and I got an error as below. I am not sure what is going wrong. I used the same code to load both models but the model 0.5 is ok, model 0.25 or even 1.0 are not successful loading.