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

UnpicklingError When Loading Model Weights in training.py #5

Open
geng007 opened this issue Mar 9, 2024 · 0 comments
Open

UnpicklingError When Loading Model Weights in training.py #5

geng007 opened this issue Mar 9, 2024 · 0 comments

Comments

@geng007
Copy link

geng007 commented Mar 9, 2024

Dear Developer Team,

I hope this message finds you well. I am reaching out to report an issue I encountered while working with your software, specifically when attempting to load a model that I trained using the training.py file. Upon executing the test code to utilize the trained model, I encountered an UnpicklingError that halted the process.

To provide a detailed context, here is the error message that was generated:

UnpicklingError: A load persistent id instruction was encountered, but no persistent_load function was specified.

This error occurred during the following operation in the code:

model = CaLM(weights_file='/home/hugeng/39-CaLM/production-run/latest-0.ckpt')

Thank you for your time and assistance. I look forward to your response and any suggestions you may offer to resolve this issue.

Best regards,

Geng Hu

image

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

1 participant