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

train error #43

Closed
ZJ1224 opened this issue Mar 19, 2019 · 3 comments
Closed

train error #43

ZJ1224 opened this issue Mar 19, 2019 · 3 comments

Comments

@ZJ1224
Copy link

ZJ1224 commented Mar 19, 2019

there is an error happened when running train.py


if args.imgsize % args.scale != 0:
print("Image size "+{args.imgsize}+ " is not evenly divisible by scale" +{args.scale})
return


return
^
SyntaxError: 'return' outside function

@yuyifan1991
Copy link

@ZJ1224 Have you fixed the problem? I have the same isuues.

@jmiller656
Copy link
Owner

Can you tell me what version of python you're running and what your OS is? I'm not experiencing this problem. Looks like the indentation for the return is not showing up for some reason

@jmiller656
Copy link
Owner

Found the problem. Try cloning again, it should be fixed now

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