We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preprocess_true_boxes
The x and y coordinates in true_boxes are expressed relative to image dimensions in L256- true_boxes[..., 0:2] = boxes_xy/input_shape[::-1]
true_boxes[..., 0:2] = boxes_xy/input_shape[::-1]
Then these values are used in L297- y_true[l][b, j, i, k, 0:4] = true_boxes[b,t, 0:4]
y_true[l][b, j, i, k, 0:4] = true_boxes[b,t, 0:4]
i = np.floor(true_boxes[b,t,0]*grid_shapes[l][1]).astype('int32') j = np.floor(true_boxes[b,t,1]*grid_shapes[l][0]).astype('int32') y_true[l][b, j, i, k, 0] = true_boxes[b,t,0]*grid_shapes[l][1] - i y_true[l][b, j, i, k, 1] = true_boxes[b,t,1]*grid_shapes[l][0] - j
Are you doing this later in the code? Your insights on these doubts are highly appreciated. Thanks for your time, Thomas.
keras-YOLOv3-mobilenet/yolo3/model.py
Line 297 in d8ac3e2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The x and y coordinates in true_boxes are expressed relative to image dimensions in L256-
true_boxes[..., 0:2] = boxes_xy/input_shape[::-1]
Then these values are used in L297-
y_true[l][b, j, i, k, 0:4] = true_boxes[b,t, 0:4]
Are you doing this later in the code? Your insights on these doubts are highly appreciated.
Thanks for your time,
Thomas.
keras-YOLOv3-mobilenet/yolo3/model.py
Line 297 in d8ac3e2
The text was updated successfully, but these errors were encountered: