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

Why the last dimension of the tensor is size=4 #7

Closed
pedrogalher opened this issue May 24, 2020 · 1 comment
Closed

Why the last dimension of the tensor is size=4 #7

pedrogalher opened this issue May 24, 2020 · 1 comment

Comments

@pedrogalher
Copy link

pedrogalher commented May 24, 2020

Hi,

I just started ith Object Detection and I'm finding this book incredibly useful. As I'm now going throug the function "anchor_boxes" withon the script "layer_utils.py", I do not completely understand why the tensor of anchor boxes has this dimensions:
tensor = (feature_map_height, feature_map_width, n_boxes, 4)

I do not understand why the last dimension is size 4. What is the reason behind it?

Thank you!

@pedrogalher
Copy link
Author

Alright, I found out that is is for storing the following information: (cx, cy, w, h).
I close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant