On second introspection of the error you are getting, it seems that your .pth file is a zip file and not a weight file. It is highly probable that you didn’t save the model weights in the correct format.