Siamese-RPN-pytorch icon indicating copy to clipboard operation
Siamese-RPN-pytorch copied to clipboard

Unable to save training model

Open donggc opened this issue 5 years ago • 3 comments

Use the following command to train the model, but model is not produced after the training. python train_siamrpn.py --dataroot=/home//projects/firefox-downloads/Siamese-RPN-pytorch-master/vot2013 --lr=0.001 --checkpoint_path=/home//projects/firefox-downloads/Siamese-RPN-pytorch-master/pretrainedModel/weights-0690000.pth.tar

donggc avatar Dec 24 '18 07:12 donggc

Looking forward to your reply

donggc avatar Dec 24 '18 07:12 donggc

Use the following command to train the model, but model is not produced after the training. python train_siamrpn.py --dataroot=/home//projects/firefox-downloads/Siamese-RPN-pytorch-master/vot2013 --lr=0.001 --checkpoint_path=/home//projects/firefox-downloads/Siamese-RPN-pytorch-master/pretrainedModel/weights-0690000.pth.tar

Moving https://github.com/songdejia/Siamese-RPN-pytorch/blob/master/code_v1.0/train_siamrpn.py#L247 to the loop of https://github.com/songdejia/Siamese-RPN-pytorch/blob/master/code_v1.0/train_siamrpn.py#L89 works for me

qchenclaire avatar Feb 28 '19 19:02 qchenclaire

Putting line247-254 in the loop of each epoch will solve this.

XiongZhongxia avatar May 09 '19 13:05 XiongZhongxia