Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_SRGAN.sh does not work #40

Open
wittmarf opened this issue Jul 25, 2018 · 3 comments
Open

test_SRGAN.sh does not work #40

wittmarf opened this issue Jul 25, 2018 · 3 comments

Comments

@wittmarf
Copy link

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
Copy link

XU-Shi commented Jul 28, 2018

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

@zhaobingbingbing
Copy link

same with you!

@zhaobingbingbing
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants