The-Learning-And-Vision-Atelier-LAVA / DASR

[CVPR 2021] Unsupervised Degradation Representation Learning for Blind Super-Resolution
MIT License
387 stars 50 forks source link

Possibilty training on another training set #70

Closed shyranok closed 2 years ago

shyranok commented 2 years ago

Hi,

I am highly interested in your work and code. I am trying to use another training dataset (SiblingsDB) to train your DASR model. However, when I tried to run the main.sh file for training after I changed the dir_data to my _data_path and put my dataset in my_data_path/DF2K/HR, the following error occurs in line 65 of multiscalesrdata.py: "self.repeat = args.test_every // (len(self.images_hr) // args.batch_size) ERROR: ZeroDivisionError: integer division or modulo by zero".

Do you know what the problem is?

Thank you in advance.