-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No results? #40
Comments
Note: path of images should be like: $MODEL_PATH/benchmark/CBSD68/XXX.png |
Yes I have it like this: C:\Pretrained-IPT-main\test_data\benchmark\BW\000.png |
Maybe you should rename your dataset as CBSD68, since we do not write codes for dataset BW. |
I tried. I thought adding "BW" to this would work? Was in a different issue thread.
|
Yes, I think this should work. Another strightforward solution is to rename your folder 'BW' as 'CBSD68' and set --data_test "CBSD68". |
Tried renaming, same issue unforunately.
|
This is strange. Can the codes work well if you using the original CBSD68 dataset? |
If I do --test_only, then yes.
If I do --save_results, I get the same error.
|
python main.py --dir_data "C:/Pretrained-IPT-main/test_data/" --pretrain "C:/Pretrained-IPT-main/model/IPT_denoise30.pt" --data_test "BW" --scale 1 --denoise --sigma 30 --test_only
No denoised images in any folders?
If I change "test_only" to --save or --save_results I get: ValueError: num_samples should be a positive integer value, but got num_samples=0
The text was updated successfully, but these errors were encountered: