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

Add head bbox for Pyramid-Box model. #963

Merged
merged 2 commits into from
Jun 5, 2018

Conversation

qingqing01
Copy link
Collaborator

Generate head bboxes based on face bboxes.

"""
expand_boxes = []
for bbox in bboxes:
xmin = bbox[0]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bbox[1:5]是xmin,ymin,xmax,ymax?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, bbox[0:4]是xmin,ymin,xmax,ymax.

@qingqing01 qingqing01 changed the title Add head bbox for Pyramid-Box model. [Do Not Merge]Add head bbox for Pyramid-Box model. Jun 5, 2018
@qingqing01 qingqing01 changed the title [Do Not Merge]Add head bbox for Pyramid-Box model. Add head bbox for Pyramid-Box model. Jun 5, 2018
@baiyfbupt baiyfbupt self-requested a review June 5, 2018 05:32
Copy link
Contributor

@baiyfbupt baiyfbupt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qingqing01 qingqing01 merged commit b6c505b into PaddlePaddle:develop Jun 5, 2018
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

Successfully merging this pull request may close these issues.

2 participants