Skip to content
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

Open
hubtub2 opened this issue Aug 19, 2019 · 2 comments
Open

Anchors not centered in generate_anchors_3D? #71

hubtub2 opened this issue Aug 19, 2019 · 2 comments

Comments

@hubtub2
Copy link

hubtub2 commented Aug 19, 2019

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

@zengjianyou
Copy link

yes ,i think so

@zengjianyou
Copy link

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants