-
Notifications
You must be signed in to change notification settings - Fork 47
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
Issues with loading model weights to reproduce the demo notebook #12
Comments
Hi @bpiyush, I am getting what appears to be the same error running the demo.py notebook. Did you ever find a solution? The output I'm getting looks like noise, so I think you're correct that the decoder weights aren't loading properly.
Any thought @berniebear? |
I believe I found the issue. I was able to run the dev2 demo and I realized that notebook has a decoder_mode flag set to 1 in the prepare_model function. I made that single modification to the demo notebook and am now can load the model without error and get reasonable reconstructions of the output.
|
Hi! Great work!
I was trying to reproduce the demo in this notebook. While loading model weights from a pre-trained checkpoint using:
I get the following warning message
I believe it isn't loading the decoder weights correctly. Could you please help me fix this? @berniebear
Thanks!
The text was updated successfully, but these errors were encountered: