BasicSR icon indicating copy to clipboard operation
BasicSR copied to clipboard

SwinIR training using DIV2K - no such file or directory

Open sc-56 opened this issue 2 years ago • 4 comments

I have used the script to training SwinIR following the instruction, but it seems that one error appears:

[ No such file or directory: '/home/featurize/data/DIV2K_train_HR/0430_s037.png' ]

The name format of DIV2K on my machine is just one number such as "0315.png", and "0430_s037.png" actually doesn't exist.

May I ask why this happened and how to solved it?

sc-56 avatar Dec 30 '23 14:12 sc-56

The suffix '_sxxx.png' indicates that the image has been cropped for faster io by the script BasicSR/scripts/data_preparation/extract_subimages.py You can also obtain the images using the scripts.

ceasor97 avatar Feb 09 '24 15:02 ceasor97

I meet the same problem, Do you resolve it?

DX3906ghh avatar Jun 15 '24 12:06 DX3906ghh