wbhu / DnCNN-tensorflow

:octocat::octocat:A tensorflow implement of the paper "Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising"
GNU General Public License v3.0
362 stars 150 forks source link

error xrange #40

Open hujiayu712 opened 5 years ago

hujiayu712 commented 5 years ago

I run main.py name Error :name 'Xrange' is not defined

ihongxx commented 5 years ago

you can add: xrange = range

FYJ112233 commented 4 years ago

you should pay attention to the python3 instead of python2, // instead of /, and range instead of xrange.