Efficient-Computing icon indicating copy to clipboard operation
Efficient-Computing copied to clipboard

Wrong test dataset tree structure

Open MohammadMdv opened this issue 1 year ago • 3 comments

I am trying to work with the LowLevel/IPG repository, but I saw a strange configuration in "LowLevel/IPG/options/test_IPG_BasicSR_x2.yml."! The config seems to be reading directories that do not exist. For example, it tries to read "dataroot_gt: ../SRdata/BasicSR_SR_test/BSDS100/GTmod2," which does not exist in my dataset. When I downloaded the dataset from "https://drive.google.com/drive/folders/1B3DJGQKB6eNdwuQIhdskA64qUuVKLZ9u", the tree structure of directories was different. For example, is there no "../SRdata/BasicSR_SR_test/BSDS100/GTmod2"?! Did I download the right dataset to infer the model? Screenshot 1403-08-10 at 19 52 37

MohammadMdv avatar Oct 31 '24 16:10 MohammadMdv

Thanks for your interest in our work! Actually, the official dataset you have downloaded does not include any LR image. You will have to preprocess it according to the matlab code here: https://github.com/huawei-noah/Efficient-Computing/issues/144 I will make the processed dataset available soon. Please keep tuned!

YuchuanTian avatar Nov 05 '24 11:11 YuchuanTian

The preprocessed dataset could be downloaded from this link: https://huggingface.co/datasets/yuchuantian/BasicSR_SR_test

YuchuanTian avatar Nov 05 '24 13:11 YuchuanTian

Thank you for your answer. I was trying to use your X2 model on other images, but I got a torch.OutOfMemoryError and I first thought it was associated with the large size of ground truth images (around 1.7 MB), so I compressed them to roughly 500 KB, but the issue still persists. Can you find a reasonable explanation for it? (sample image is attached) Screenshot 1403-09-16 at 17 19 44 region1_Job 4_005_z00_ch00

MohammadMdv avatar Dec 06 '24 13:12 MohammadMdv