cszn / KAIR

Image Restoration Toolbox (PyTorch). Training and testing codes for DPIR, USRNet, DnCNN, FFDNet, SRMD, DPSR, BSRGAN, SwinIR

Home Page:https://cszn.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I train swinIR with my own dataset?

MingyuLau opened this issue · comments

I want to train SwinIR using my own HR images and LR images, however it seems that it will raise error about the image size.
My own HR and LR has the same size.

I also have the same problem, I think it's some problem with odd resolution values, as I train a few even values examples and no problems raised at all. Please help me if you have solved this problem, thank you.