-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
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
Anchors not centered in generate_anchors_3D? #71
Comments
yes ,i think so |
@hubtub2 I got a lot of 3d anchors, but the actual gt overlap of the anchor is very little .why ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think there is a bug in generate_anchors_3D.
The anchors were note centered relativ to the feature map, but shifted to the left.
I fixed this by adding " feature_stride_xy/2":
shifts_y = np.arange(0, shape[0], anchor_stride) * feature_stride_xy + feature_stride_xy/2 shifts_x = np.arange(0, shape[1], anchor_stride) * feature_stride_xy + feature_stride_xy/2 shifts_z = np.arange(0, shape[2], anchor_stride) * (feature_stride_z) + feature_stride_z/2
The text was updated successfully, but these errors were encountered: