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

Missing key(s) in state_dict: "label_emb.weight" #128

Open
coderpracticer opened this issue Mar 9, 2024 · 3 comments
Open

Missing key(s) in state_dict: "label_emb.weight" #128

coderpracticer opened this issue Mar 9, 2024 · 3 comments

Comments

@coderpracticer
Copy link

when i try to run image_sample.py, i meet this question.Have anyone meet the same question?
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for UNetModel:
Missing key(s) in state_dict: "label_emb.weight".

@XM512
Copy link

XM512 commented Sep 30, 2024

你解决了吗。我也遇到了同样的问题,呜呜呜

@mmitchef
Copy link

你解决了吗。我也遇到了同样的问题,呜呜呜

add --num_res_blocks or if you have it already remove it to see if your code works.

1 similar comment
@mmitchef
Copy link

你解决了吗。我也遇到了同样的问题,呜呜呜

add --num_res_blocks or if you have it already remove it to see if your code works.

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

3 participants