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
Thanks for your great work in GAN inversion.
I find a bug when I set the generator_type as stylegan.
I guess that line 69 in derivable_generator.py should be self.stylegan = get_gan_model(gan_model_name)
and line 80 should be self.stylegan.net.cuda(device=device),
otherwise, it may cause an error like this:
AttributeError: 'StyleGANGeneratorNet' object has no attribute 'net'.
The text was updated successfully, but these errors were encountered:
Thanks for your great work in GAN inversion.
I find a bug when I set the generator_type as stylegan.
I guess that line 69 in
derivable_generator.py
should beself.stylegan = get_gan_model(gan_model_name)
and line 80 should be
self.stylegan.net.cuda(device=device)
,otherwise, it may cause an error like this:
AttributeError: 'StyleGANGeneratorNet' object has no attribute 'net'.
The text was updated successfully, but these errors were encountered: