mangye16 / DDAG

Pytorch Code of DDAG for Visible-Infrared Person Re-Identification (ECCV20)
MIT License
71 stars 16 forks source link

test.py 报错 #3

Closed huangpan2507 closed 3 years ago

huangpan2507 commented 3 years ago

当我运行: python test_ddag.py --dataset sysu --mode all --wpa --graph --gpu 0 --resume ’model_path‘

==> Resuming from checkpoint.. ==> _no checkpoint found at model_path!!!!!!!!!!_ ==> Loading data..

测试完,准确率就4.几

我想知道--resume: the saved model path. Important ** 怎么设置,比如我已经训练完了,训练的--model_path', default='save_model/' ,那么运行test的命令 --resume 'model_path' 要怎么改

huangpan2507 commented 3 years ago

ok.I had found that file in default position ./save_model/ . perfect work!