-
Notifications
You must be signed in to change notification settings - Fork 5
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
About quick test own single image. #1
Comments
Hi alvinlin1271320:
|
I have also encountered this issue. I am sure that I entered a color image, including 3 channels, but I will report an error : |
我在测试数据集的时候也出现了(mmdet) D:\programs\denoise_sonar_programs\LGBPN-master>python test.py --config APBSN_DND/BSN_DND --pretrained D:\programs\denoise_sonar_programs\LGBPN-master\output\test\checkpoint\test_020.pth --test_dir D:\programs\denoise_sonar_programs\LGBPN-master\dataset\Sonar\RN |
|
Thanks for the code. I would like to ask you that could I just test my single image rather than test SIDD dataset? If can, what should I do?
I run your code like this, and below is the error message.
$ python test.py -s LGBPN_SIDD -c APBSN_SIDD/BSN_SIDD -g 0 -e 20 --test_img {my_image}
"src\util\util.py", line 300, in forward
b, c, h, w = x.shape
ValueError: not enough values to unpack (expected 4, got 2)
The text was updated successfully, but these errors were encountered: