zhangyi-3 / KBNet

KBNet: Kernel Basis Network for Image Restoration
MIT License
199 stars 25 forks source link

Questions about testing my own data #13

Open buptxlsk opened 2 months ago

buptxlsk commented 2 months ago

Is it not allowed to test directly with my own data? Why can't I read the image

(test) zkyd@zkyd:~/cxl/code/xlsk/KBNet/Denoising$ python -u test_gaussian_color_denoising.py --yml Options/gau_color_50.yml ** Options/gau_color_50.yml pretrained_models/gau_color_50.pth ===>Testing using weights: Compute results for noise level 50 0it [00:00, ?it/s] /home/zkyd/anaconda3/envs/test/lib/python3.10/site-packages/numpy/core/fromnumeric.py:3464: RuntimeWarning: Mean of empty slice. return _methods._mean(a, axis=axis, dtype=dtype, /home/zkyd/anaconda3/envs/test/lib/python3.10/site-packages/numpy/core/_methods.py:192: RuntimeWarning: invalid value encountered in scalar divide ret = ret.dtype.type(ret / rcount) Kodak gau_color_50 nan 0it [00:00, ?it/s] CBSD68 gau_color_50 nan 0it [00:00, ?it/s] McMaster gau_color_50 nan 0it [00:00, ?it/s] Urban100 gau_color_50 nan