zsyzzsoft / co-mod-gan

[ICLR 2021, Spotlight] Large Scale Image Completion via Co-Modulated Generative Adversarial Networks
Other
444 stars 67 forks source link

An error occurred when running run_generator.py #52

Open zzz105120 opened 2 years ago

zzz105120 commented 2 years ago

hi,i have a problem: tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found. (0) Invalid argument: Incompatible shapes: [1,3,1024,1024] vs. [1,1,512,512] [[node Gs/_Run/Gs/G_synthesis/mul (defined at :387) , node Gs/_Run/Gs/G_synthesis/mul_2 (defined at :476) ]] [[Gs/_Run/Gs/images_out/_1587]] (1) Invalid argument: Incompatible shapes: [1,3,1024,1024] vs. [1,1,512,512] [[node Gs/_Run/Gs/G_synthesis/mul (defined at :387) , node Gs/_Run/Gs/G_synthesis/mul_2 (defined at :476) ]] 0 successful operations. 0 derived errors ignored.

Can you only use 512*512 when running generators?

codeislife99 commented 2 years ago

Yes.

zzz105120 commented 2 years ago

Yes.

thank you