mganprior
mganprior copied to clipboard
run multi_code_inversion with stylegan2_ffhq model failed
An error occurred when running multi_code. Checking the code found two errors in the derivable_generator.py file. The errors are as follows: line 66 self.stylegan = get_gan_model(gan_model_name).net ---> self.stylegan = get_gan_model(gan_model_name)
line 77 self.stylegan.cuda(device=device) ---> self.stylegan.net.cuda(device=device)