jmiller656 / EDSR-Tensorflow

Tensorflow implementation of Enhanced Deep Residual Networks for Single Image Super-Resolution
MIT License
330 stars 107 forks source link

train error #43

Closed ZJ1224 closed 5 years ago

ZJ1224 commented 5 years ago

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 5 years ago

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

jmiller656 commented 5 years ago

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 5 years ago

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