train error
Closed this issue · 3 comments
ZJ1224 commented
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 commented
@ZJ1224 Have you fixed the problem? I have the same isuues.
jmiller656 commented
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 commented
Found the problem. Try cloning again, it should be fixed now