HelloRicky123 / Siamese-RPN

Full reimplementation of siamese rpn, has 0.24 eao on vot2017.
MIT License
223 stars 44 forks source link

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' #25

Closed Alex6D closed 5 years ago

Alex6D commented 5 years ago

when I run the 59version/train_siamrpn.py

stillqueen commented 5 years ago

you can go to the last line of the tracker.py, it return self.bbox and score_pred[best_pscore_id], you can just delete the score_pred[best_pscore_id]

HelloRicky123 commented 5 years ago

This is because the image is too small in training. You can modify the dataset.py to fix it. Just add padding when crop image.