Skip to content
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

测试过程中报错 #25

Open
betterwx opened this issue Apr 30, 2024 · 0 comments
Open

测试过程中报错 #25

betterwx opened this issue Apr 30, 2024 · 0 comments

Comments

@betterwx
Copy link

Traceback (most recent call last):
File "D:\Paper\object detection paper\salient object detection\SOD100K-master\CSNet\test.py", line 130, in
main()
File "D:\Paper\object detection paper\salient object detection\SOD100K-master\CSNet\test.py", line 52, in main
test(model, cfg.TEST.DATASETS, loadepoch)
File "D:\Paper\object detection paper\salient object detection\SOD100K-master\CSNet\test.py", line 86, in test
img = np.transpose((img - mean) / std, (2, 0, 1))
ValueError: operands could not be broadcast together with shapes (224,224) (3,)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant