ShangHua-Gao / SOD100K

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
https://mmcheng.net/sod100k/
240 stars 47 forks source link

测试过程中报错 #25

Open betterwx opened 6 months ago

betterwx commented 6 months ago

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,)