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

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

Open tanhangkai opened this issue 5 years ago • 1 comments

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"

tanhangkai avatar Jun 26 '19 08:06 tanhangkai

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

ShiLongCheng avatar Aug 14 '19 12:08 ShiLongCheng