Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

torch.load pre-trained model error #3

Open
2017234312 opened this issue Sep 21, 2020 · 1 comment
Open

torch.load pre-trained model error #3

2017234312 opened this issue Sep 21, 2020 · 1 comment

Comments

@2017234312
Copy link

hello, thank you for your contribution. i download your weight file and load it to check the performance on LFW , while load the pt file according to your description, the error "_pickle.UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified." occurred. the pickle and save operation for your weight file maybe error???

@tamerthamoqa
Copy link
Owner

tamerthamoqa commented Sep 22, 2020

Hello 2017234312,

I have managed to recreate this issue by using a Python 2.7 conda environment. I'm afraid you would have to use Python 3.6+ in order to use PyTorch 1.6. I have also updated the README on importing the required files in a more correct way.

I hope this was helpful, please inform me if other issues arise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants