Closed filipetrocadoferreira closed 6 years ago
## Transform ROI keypoints from (x,y) image space to keypoint label y1, x1, y2, x2 = tf.split(positive_rois, 4, axis=1) y1 = y1[:, 0] x1 = x1[:, 0] y2 = y2[:, 0] x2 = x2[:, 0]
why did you go to zero indexed?
@filipetrocadoferreira It's correct, because the return shape of tf.split is [num, 1]. So zero index is used.
why did you go to zero indexed?