UnpicklingError When Loading Model Weights in training.py
geng007 opened this issue · 0 comments
geng007 commented
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