wooseoklee4 / AP-BSN

Official PyTorch implementation of "AP-BSN: Self-Supervised Denoising for Real-World Images via Asymmetric PD and Blind-Spot Network" in CVPR 2022.
MIT License
106 stars 12 forks source link

about test dataset #2

Closed sunyclj closed 2 years ago

sunyclj commented 2 years ago

Hi,when run 'python test.py -c APBSN_SIDD -g 0 --pretrained APBSN_SIDD.pth --test_img ./00001.png',occur error 'FileNotFoundError: [Errno 2] No such file or directory: './dataset/SIDD/BenchmarkNoisyBlocksSrgb.mat'.What's the reason?Can test data only be SSID data sets? image

wooseoklee4 commented 2 years ago

Hi, sunyclj. Thanks for reporting problems while you run the code. It was a bug while you test a single image without the dataset. And I fixed that bug and further implemented testing code for entire image folder for convenience.

I pushed the updated code, and thanks you again for reporting bug:)