mganprior icon indicating copy to clipboard operation
mganprior copied to clipboard

run multi_code_inversion with stylegan2_ffhq model failed

Open Xiaomao136 opened this issue 5 years ago • 0 comments

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)

Xiaomao136 avatar Sep 18 '20 11:09 Xiaomao136