-
Notifications
You must be signed in to change notification settings - Fork 77
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
Inference from Checkpoints #12
Comments
I browsed a little bit through the history of the project and found my problem to be a result of the refactoring of the inference. I will update the code and prepare a pull request, if you don't mind |
yeah, I have the same problem with " KeyErrror: 'param'", and can you update how to use inference in README pls! |
@bowphs could you show me how to fix this issue! |
If I remember correctly, the problem are the *_run scripts, which do not save the model properly: During inference, you try to load the model, but the keys do not exist.
|
Thanks for your reply, I just try your code and it still not working for me, for other *_run file doesn't have checkpoint so idk how to handle those file in order to work. I would be really thankful if you can give me your repo which you fix in this issue. @bowphs |
Hi and thank you very much for your really helpful code!
I am trying to test my trained model and have problems with the inference.py file.
I specified a checkpoint stored in the ckpt folder, but I get a "KeyError: 'param'".
Could you please elaborate on how to use the --model_path flag? (And in general, it would be useful to have a quick overview on how to use the inference.py file.)
Thank you very much in advance and best regards.
The text was updated successfully, but these errors were encountered: