ofsoundof / GRL-Image-Restoration

MIT License
379 stars 24 forks source link

Where can I find the file named ''test.json''? #10

Closed ZifeiMo96 closed 1 year ago

ZifeiMo96 commented 1 year ago

It is a great job and I am very interested in it. I have downloaded your code and pre-trained model. But I meet some trouble when running your code. I follow the 'ReadME.Md' file to set the environment and use this command to run your code. torchx run -- -j 1x2 -- \ -m training=False gpus=2 experiment=dm/grl model=grl/grl_small \ load_state_dict=True pretrained_checkpoint="${MODEL_ZOO}/GRL/dm_grl_small.ckpt" But when the code runs to line 96 of the "/GRL-Image-Restoration-main/data/datasets/restoration_dn.py" file, it gets an error that says the "test.json" file cannot be found. And the specific error information is as follows. FileNotFoundError: [Errno 2] No such file or directory: '/root/projects/data/LightningIR/image_info/McMaster/test.json'

I've gone through all of your code, but I can't find a similar ". json " file, so I'm wondering where I can find the "test. json" file.

ofsoundof commented 1 year ago

Thanks a lot for the question. Please download image_info.zip from the release.

ZifeiMo96 commented 1 year ago

Thank you very much for your reply. It helps a lot