c-yn / IRNeXt

[ICML2023] IRNeXt: Rethinking Convolutional Network Design for Image Restoration
MIT License
47 stars 4 forks source link

About the file "data_load.py" in path:OTS--->data #5

Closed Urian-oy closed 4 months ago

Urian-oy commented 4 months ago

Excuse me , I still don't understand why the ‘ps’ parameter in this file can't be set to 256, I tried 128 and 64 can run, but like set to 256, it will be wrong, my ps understanding is that it is the size of an image cropped

c-yn commented 4 months ago

Yes, ps is the size of the cropped image. What errors did you encounter when setting ps=256?

Urian-oy commented 4 months ago

Yes, ps is the size of the cropped image. What errors did you encounter when setting ps=256? I think this may be due to the fact that there are images in the dataset with dimensions (height or width) less than 256.I will try out it and reply u ,ths your reply in time. error

c-yn commented 4 months ago

Yes, there are some images smaller than 256*256.

You can remove them or pad them. We chose to manually remove them when preparing the dataset.

Urian-oy commented 4 months ago

Yes, there are some images smaller than 256*256.

You can remove them or pad them. We chose to manually remove them when preparing the dataset.

Yes.Thanks for your work.