We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, when I load the checkpoint file using the model class, it returns the UnpicklingError. The code for loading the model is below.
model = EmpathicSimilarityModel(model="BART", pooling="MEAN", bin=False) checkpoint = torch.load(model_path, map_location=torch.device("cuda"))
The error looks like this.
UnpicklingError: invalid load key, 'v'.
When I searched for the error, it seems like the checkpoint file has some issues.
It would be appreciated if you let me know how to figure out this problem!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, when I load the checkpoint file using the model class, it returns the UnpicklingError.
The code for loading the model is below.
The error looks like this.
When I searched for the error, it seems like the checkpoint file has some issues.
It would be appreciated if you let me know how to figure out this problem!
The text was updated successfully, but these errors were encountered: