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"
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"