Skip to content

UnpicklingError When Loading Model Weights in training.py #5

@geng007

Description

@geng007

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions