The official repo of the TPAMI 2021/ECCV 2020 work CSNet: A Highly Efficient Model with 100K Parameters to Study the Semantics of Salient Object Detection
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,)
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,)