Open cscss opened 4 years ago
What's the problem?
When you use opencv to bicubic, the size of image should be (w,h), not (h, w). It is just a small problem, but it could be error when run this code.
Yeah, you're right. It's really a small code bug.
Hi, Thanks for release the code. I have read your code. It's brilliant! but I found a small problem in your pytorch code. when get patches. you data augment have some problems about cv2.imresize. you can check you codes in ./DnCNN-master/TrainingCodes/dncnn_pytorch/data_generator.py line 94.