Closed priteshgohil closed 4 years ago
See the recommended solution: https://github.com/pytorch/pytorch/issues/31620#issuecomment-600591415
But still not working.
Ok, I'm able to load the model. The problem was with the saved weight file. It wasn't saved properly and the weight file size was smaller (only 90 MB instead of 200 MB).
Hi, I have an error in loading saved weight file in demo.py. To reproduce the error, I tried to load the weight file in terminal directly and it gives exactly the same error.
I know it is dependent on the project folder structure but I'm trying to load it inside the project folders