TencentYoutuResearch / PersonReID-NAFS

Code for "Contextual Non-Local Alignment over Full-Scale Representation for Text-Based Person Search"
https://arxiv.org/abs/2101.03036
Other
61 stars 10 forks source link

Problems when run test.sh #12

Closed ht374 closed 3 years ago

ht374 commented 3 years ago

First of all, thank you for sharing the code. But I have a bug running test.sh. I have a screenshot below. The bug is that best_model is being cast to an int. But I looked at model_path and there are only two files, model_best and best_model.pth.tar. There is nothing to convert to an int. Is there any problem with my file location? 1616390619(1)

wettera commented 3 years ago

First of all, thank you for sharing the code. But I have a bug running test.sh. I have a screenshot below. The bug is that best_model is being cast to an int. But I looked at model_path and there are only two files, model_best and best_model.pth.tar. There is nothing to convert to an int. Is there any problem with my file location? 1616390619(1)

Thanks for your attention on our work. Please change best_model.pth.tar to 10.pth.tar, or you can change some code in the main function of test.py