michuanhaohao / reid-strong-baseline

Bag of Tricks and A Strong Baseline for Deep Person Re-identification
http://openaccess.thecvf.com/content_CVPRW_2019/papers/TRMTMCT/Luo_Bag_of_Tricks_and_a_Strong_Baseline_for_Deep_Person_CVPRW_2019_paper.pdf
MIT License
2.24k stars 573 forks source link

运行test.py时报错 #208

Open wangsiling59 opened 2 years ago

wangsiling59 commented 2 years ago

您好,我使用您的开源代码重新训练出了一个模型,但是使用我训练出的模型运行tools/test.py时,报如下错误,您的代码我没有做任何改动,只把cfg.TEST.WEIGHT设置成了自己训练出来的模型的路径,请问是什么原因呢,训练可以正常训练,但是测试报这个错误 image

atk-sheep commented 2 years ago

QQ截图20211127213743 baseline.py的文件最后改下