brade31919 / SRGAN-tensorflow

Tensorflow implementation of the SRGAN algorithm for single image super-resolution
MIT License
849 stars 282 forks source link

test_SRGAN.sh does not work #40

Open wittmarf opened 6 years ago

wittmarf commented 6 years ago

When running the test script I get the following error message:

Traceback (most recent call last): File "main.py", line 88, in FLAGS.crop_size = None [...] AttributeError: Flag --crop_size must be specified.

XU-Shi commented 6 years ago

I also encountered this problem... Have you addressed the issue?

zhaobingbingbing commented 6 years ago

same with you!

zhaobingbingbing commented 6 years ago

I know how to fix it now,if you want to run test.sh, change File "main.py", line 89, FLAGS.crop_size = None to FLAGS.crop_size = 24 if you want to run inference.sh change File "main.py", line 165, FLAGS.crop_size = None to FLAGS.crop_size = 24 then it will works.