Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Bbox Mean/STD normalization #632

Closed
kleingeo opened this issue Aug 23, 2018 · 3 comments
Closed

Bbox Mean/STD normalization #632

kleingeo opened this issue Aug 23, 2018 · 3 comments

Comments

@kleingeo
Copy link

In the previous iteration of this model, the Faster RCNN model, the bounding boxes are normalized based on their mean and standard deviation. In this iteration there does not seem to be any mention of normalizing the bounding box regression now, and the only reference I found was in utils/net.py in the configure_bbox_reg_weights which talks about using fixed weights. Are the regression outputs no longer normalized, and if not, what is done instead?

@ppwwyyxx
Copy link
Contributor

They are still normalized during bounding box regression as you can see here:

targets[ex_inds, 1:] = box_utils.bbox_transform_inv(
ex_rois, gt_rois, cfg.MODEL.BBOX_REG_WEIGHTS)

@kleingeo
Copy link
Author

So are they no longer normalized by the mean and standard deviation? And are these weights applied to both the RPN and Fast RCNN sides of the network? They look to be the same as the Faster RCNN normalization parameters just inverted, is that correct?

@ppwwyyxx
Copy link
Contributor

So are they no longer normalized by the mean and standard deviation?

The mean is considered zero. So you can either call it "normalization", or "multiply by a weight".

And are these weights applied to both the RPN and Fast RCNN sides of the network?

Only Fast RCNN side.

They look to be the same as the Faster RCNN normalization parameters just inverted, is that correct?

dividing by x is equivalent to multiplying by the inverse of x.

@ir413 ir413 closed this as completed Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants