-
Notifications
You must be signed in to change notification settings - Fork 36
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
No module named 'torch_utils' in run_convert_from_tf.py #24
Comments
Hey! It seems like the model you are trying to use is from https://github.com/NVlabs/stylegan2-ada-pytorch and not the original tensorflow repo that the conversion tool was designed for. |
have you solve the problem? i got the same question. |
The model you are trying to convert is not from the original tensorflow repo and thus will not work with this code |
Unfortunately, because of adriansahlman‘s architecture, only the model he provides can be converted, the model of StyleGAN2-ada is newly generated and cannot be converted. But only the G model will not actually take up that much cuda memory, so I just generate 1080x1080 images and resize them |
Thanks for your help! |
Hi, thank you very much for sharing. Due to the limitation of the GPU, I'm going to use "run_convert_from_tf.py" to transpose a 512x512 pre-trained model of stylegan2, which I got from https://catalog.ngc.nvidia.com/orgs/nvidia/teams/research/models/stylegan2 to download "stylegan2-ffhq-512x512.pkl", then I would like to try to conversion, but it failed, reporting the following error code.
My environment is cu101+torch1.7.1+tensorboard2.3.0
Please remind me if there is any information that is not enough, thanks a lot!
The text was updated successfully, but these errors were encountered: