zhengchen1999 / CAT

PyTorch code for our NeurIPS 2022 paper "Cross Aggregation Transformer for Image Restoration"
Apache License 2.0
121 stars 8 forks source link

Where is test result saved? #11

Closed whiteYi closed 6 months ago

whiteYi commented 6 months ago

I successful run the test.py, and "save_img" is true in config file. I can't find the result in "result" folder. Can you tell me where is the code to save the address of the result.

zhengchen1999 commented 6 months ago

Here: https://github.com/zhengchen1999/CAT/blob/main/basicsr/models/sr_model.py#L172

whiteYi commented 6 months ago

Here: https://github.com/zhengchen1999/CAT/blob/main/basicsr/models/sr_model.py#L172

Thanks for your reply! I find sourse about this question. Because the result address is relative path, and I moved the location of test.py so I can't find it in this project! This is a wonderful work!