Hi, I am having trouble with model saving and loading
I trained a model and saved it.
When I try to load it to evaluate its performance, it gives the error: Can’t get attribute ‘Net’ on <module ‘main’
The strange thing is that when I try to solve this problem by importing the original file, it starts training again…
I don’t understand this, I don’t have any training code in my evaluation file. Just simple load one image and pass it to the net. Why is this happening?