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

Error when training stylegan2 #97

Open
mingqiJ opened this issue Nov 2, 2022 · 0 comments
Open

Error when training stylegan2 #97

mingqiJ opened this issue Nov 2, 2022 · 0 comments

Comments

@mingqiJ
Copy link

mingqiJ commented Nov 2, 2022

When I use this command to train stylegan2:python3 train.py --outdir=./out --cfg=stylegan2 --cond=True --data=./dataset/cifar10.zip --gpus=4 --batch=128 --mirror=True --batch-gpu 32 --cbase 16734 --cmax 256 --kimg 25000 --snap 200 --syn_layers 7 --head_layers 4
It takes errors: TypeError: init() got an unexpected keyword argument 'num_layers'
WeChatab2450b57785acea5d3a187e241820c9

But I can successfully train stylegan3-r and fastgan.

It is so weird. How to solve these problem/ Has anyone successfully run these two models?

@mingqiJ mingqiJ changed the title Error when training stylegan2 and fastgan Error when training stylegan2 Nov 2, 2022
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