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

How to get embeddings using our own trained model on custom dataset #86

Open
mahaling opened this issue Jan 29, 2023 · 0 comments
Open

Comments

@mahaling
Copy link

I trained on a custom dataset using the train.py script and got a model saved.

But I am getting an error loading this checkpoint by following the example provided in this repo.

Can you please provide a simple code snippet to load this checkpoint and then use that to get embeddings and projections. Thanks

Loading the checkpoint throws unexpected keys in the state dict.

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