oxpig / CaLM

Protein language model trained on coding DNA
BSD 3-Clause "New" or "Revised" License
38 stars 10 forks source link

UnpicklingError When Loading Model Weights in training.py #5

Open geng007 opened 7 months ago

geng007 commented 7 months ago

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