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

Sampling process running error #148

Open
zhuiguangzhe-zz opened this issue Nov 27, 2024 · 1 comment
Open

Sampling process running error #148

zhuiguangzhe-zz opened this issue Nov 27, 2024 · 1 comment

Comments

@zhuiguangzhe-zz
Copy link

I can train normally, but I encounter a key value missing problem when sampling. What is the reason?
image

@isaacjones99
Copy link

The reason for this is that the model you are loading the state dict into is different than the model you have defined in your code. This could be because the parameters you're using for sampling are different than the ones you used for training. Or, maybe you're trying to load the wrong model file.

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

2 participants