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

checkpoint resume error #9

Open
Tongmengjun opened this issue Jul 26, 2023 · 0 comments
Open

checkpoint resume error #9

Tongmengjun opened this issue Jul 26, 2023 · 0 comments

Comments

@Tongmengjun
Copy link

When I use the command python train_stylegan2.py configs/gan/stylegan2/c10_style64.gin vitgan --mode=aug_both --aug=diffaug --lbd_r1=0.1 --no_lazy --halflife_k=1000 --penalty=bcr --use_warmup --use_nerf_proj --resume checkpoint_log to resume training, it raises an error: `RuntimeError: Error(s) in loading state_dict for Generator: Missing key(s) in state_dict: "layers.0.attn.to_qkv.module.weight", "layers.0.attn.to_out.0.module.weight", "layers.0.ff.net.0.module.weight", "layers.0.ff.net.3.module.weight", "layers.1.attn.to_qkv.module.weight", "layers.1.attn.to_out.0.module.weight", "layers.1.ff.net.0.module.weight", "layers.1.ff.net.3.module.weight", "layers.2.attn.to_qkv.module.weight", "layers.2.attn.to_out.0.module.weight", "layers.2.ff.net.0.module.weight", "layers.2.ff.net.3.module.weight", "layers.3.attn.to_qkv.module.weight", "layers.3.attn.to_out.0.module.weight", "layers.3.ff.net.0.module.weight", "layers.3.ff.net.3.module.weight". Does it mean that the network was not saved completely?

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