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

Errors when trying to engage with Jukebox code #2

Open
Rsalganik1123 opened this issue Oct 20, 2023 · 0 comments
Open

Errors when trying to engage with Jukebox code #2

Rsalganik1123 opened this issue Oct 20, 2023 · 0 comments

Comments

@Rsalganik1123
Copy link

As the title says, I run into errors when I try to run your code for jukebox/main.py.

In particular, the line:

top_prior = make_prior(hparams, vqvae, device)

Triggers the following error:

RuntimeError: Error(s) in loading state_dict for SimplePrior:
        Unexpected key(s) in state_dict: "prior.transformer._attn_mods.36.attn.c_attn.w", "prior.transformer._attn_mods.36.attn.c_attn.b", "prior.transformer._attn_mods.36.attn.c_proj.w", "prior.transformer._attn_mods.36.attn.c_proj.b", "prior.transformer._attn_mods.36.ln_0.weight", "prior.transformer._attn_mods.36.ln_0.bias", "prior.transformer._attn_mods.36.mlp.c_fc.w", "prior.transformer._attn_mods.36.mlp.c_fc.b",... 

Would really appreciate advice on fix since it makes training your model impossible.

Thanks in advance!

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