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

A question about layer range #13

Open
lmomoy opened this issue Mar 21, 2020 · 7 comments
Open

A question about layer range #13

lmomoy opened this issue Mar 21, 2020 · 7 comments

Comments

@lmomoy
Copy link

lmomoy commented Mar 21, 2020

why the the base layer (top left) is set as [24,48,24,48]
but in corresonding layer range the the base layer (top left) is [0,48,0,48]

@arashwan
Copy link
Owner

@lmomoy In layer ranges, we set it to [0,48,0,48] cause we want to assign objects with width/height less than 48 to the base layer. Note that we extended other layer ranges for the same reason.

@lmomoy
Copy link
Author

lmomoy commented Mar 22, 2020

thanks for your reply
but I am still confused that if the base layer (top left) should be set as [0,48,0,48], but not [24,48,24,48], because the top left layer is [0,48,0,48] in matirxnet

@arashwan
Copy link
Owner

@lmomoy base_layer_range variable is used to compute anchor widths/heights. We didn't want to use the extended ranges (layer_ranges) since this will introduce some inconsistencies between matrix layers (i.e. anchor width and height w.r.t. layer size will be different from layer to another).

@liushuai839
Copy link

Hello,guys,I also have some questions in layer range, as I know, the height and width of feature map is a stationary number, but why it is a range in your paper and code ?

@rra94
Copy link
Collaborator

rra94 commented Jul 10, 2020

It's a range in the sense that the height or width of the ground truth has to lie within a [min, max] set to be assigned to a layer.

@liushuai839
Copy link

It's a range in the sense that the height or width of the ground truth has to lie within a [min, max] set to be assigned to a layer.

Does it means that the feature map will be assigned every layer and the every layer will dectect the corresponding aspect ratios object, and the result bbox is the sum of all of layer result bbox?

@rra94
Copy link
Collaborator

rra94 commented Jul 11, 2020

each layer has a feature map of its own - it's downsampled from the last layers of a resnet into a large feature pyramid with asymmetric strides.
each layer will have its own set of detections - yes
then NMS is used to get the highest scoring boxes

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

4 participants