You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Could you provide me with more information?
Are you using custom weights?
Are you using official nvidia?
What object do you have as self._G, could you do a print(type(self._G), self._G.__dict__)
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: