-
Notifications
You must be signed in to change notification settings - Fork 15
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
'DragGAN' object has no attribute '_G' #3
Comments
I have reviewed the code and I don't understand why Could you provide me with more information? Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have installed missing requirements manually but I am getting :
Exception has occurred: AttributeError
'DragGAN' object has no attribute '_G'
File "C:\Users\User\Downloads\DragGAN-main\DragGAN-main\drag_gan.py", line 114, in init
self._input_size = self._G.synthesis.img_resolution
File "C:\Users\User\Downloads\DragGAN-main\DragGAN-main\gradio_app.py", line 15, in init_drag_gan
drag_gan = DragGAN(network_pkl, device=device)
File "C:\Users\User\Downloads\DragGAN-main\DragGAN-main\gradio_app.py", line 181, in main
drag_gan, w_latent, image_orig = init_drag_gan(network_pkl, device, default_seed)
File "C:\Users\User\Downloads\DragGAN-main\DragGAN-main\gradio_app.py", line 824, in
app = main()
AttributeError: 'DragGAN' object has no attribute '_G'
The text was updated successfully, but these errors were encountered: