The Pytorch implementation is open-mmlab/mmtracking.
- For simaRPN++ , download .pth from [https://download.openmmlab.com/mmtracking/sot/siamese_rpn/siamese_rpn_r50_1x_lasot/siamese_rpn_r50_20e_lasot_20220420_181845-dd0f151e.pth]
- Using gen_tws.py convert .pth to .wts
// download https://download.openmmlab.com/mmtracking/sot/siamese_rpn/siamese_rpn_r50_1x_lasot/siamese_rpn_r50_20e_lasot_20220420_181845-dd0f151e.pth
cp {master-simaRPN++}
python gen_wts.py
// a file 'simaRPN++.wts' will be generated.
- cmake
mkdir build && cd build
cmake .. -DCMAKE_GENERATOR_PLATFORM=x64
双击击master-simarpn++.sln
右键项目->调试->环境
PATH=D:\libtorch_release\lib;%PATH% $(LocalDebuggerEnvironment)
链接器->命令行
/INCLUDE:"?ignore_this_library_placeholder@@YAHXZ"