zsyzzsoft / co-mod-gan

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

I have a problem running run_generator.py #47

Open mango5997 opened 2 years ago

mango5997 commented 2 years ago

tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found. (0) Invalid argument: slice index 0 of dimension 1 out of bounds. [[{{node Gs/_Run/Gs/G_synthesis/strided_slice_1}}]] [[Gs/_Run/Gs/images_out/_1419]] (1) Invalid argument: slice index 0 of dimension 1 out of bounds. [[{{node Gs/_Run/Gs/G_synthesis/strided_slice_1}}]] 0 successful operations. 0 derived errors ignored.

Thank you for your code, but it reports an error when running it. How can I solve this? thanks

zsyzzsoft commented 2 years ago

Have you modified the code? If not, please check whether your images are properly loaded.

lmxyy commented 2 years ago

I also met this problem without changing the codes. Have you figured out the reason?

learner-shx commented 1 year ago

maybe you used a wrong checkpoint