jmiller656 / EDSR-Tensorflow

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

error in train.py #36

Closed AsimSaif001 closed 5 years ago

AsimSaif001 commented 5 years ago

data.load_dataset(args.dataset,args.imgsize) if args.imgsize % args.scale != 0: print("Image size "+{args.imgsize}+ " is not evenly divisible by scale" +{args.scale}) return what we have return nothing ?

taniaCHY commented 5 years ago

Begin training... Traceback (most recent call last): File "train.py", line 21, in network.train(args.iterations,args.savedir) File "D:\Piao_Yi_Is_File\EDSR-Tensorflow-master\model.py", line 211, in train test_x,test_y = self.test_data(*self.test_args) File "D:\Piao_Yi_Is_File\EDSR-Tensorflow-master\data.py", line 67, in get_test_set get_image(imgs[0],original_size) IndexError: list index out of range

jmiller656 commented 5 years ago

@AsimSaif001 the error means you have an invalid configuration. We return because the program cannot continue with an invalid configuration

@taniaCHY try checking your image data directory. Chances are it doesn't exist or it is empty

yuyifan1991 commented 5 years ago

@taniaCHY Have you solved the problem? I have the same problem and I can't deal it.

kong1060553768 commented 5 years ago

@yuyifan1991 @taniaCHY Just drop your SciPy to 1.2.1