HelloRicky123 / Siamese-RPN

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

I want to ask some question about the code in "net/dataset.py"? #45

Open tanhangkai opened 5 years ago

tanhangkai commented 5 years ago

I read your code carefully, and i want to know the meaning or function in dataset.py as follow, thank you so much. " cy_o = (im_h - 1) / 2 cx_o = (im_w - 1) / 2 cy = cy_o + np.random.randint(- self.max_translate, self.max_translate + 1) cx = cx_o + np.random.randint(- self.max_translate, self.max_translate + 1) gt_cx = cx_o - cx gt_cy = cy_o - cy"

ShiLongCheng commented 5 years ago

I have the same confuse.Have you understanded these code?