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

Change Anchor Boxes Aspect Ratio #3

Open
ahkarami opened this issue Jul 9, 2018 · 5 comments
Open

Change Anchor Boxes Aspect Ratio #3

ahkarami opened this issue Jul 9, 2018 · 5 comments
Assignees
Labels
feature New feature

Comments

@ahkarami
Copy link
Contributor

ahkarami commented Jul 9, 2018

Dear @louis-she,
Thank you for your nice work.
As Shifeng Zhang has mentioned in his paper: Our anchors are 1:1 aspect ratio (_i.e.,_ square anchor), the aspect ratios of all anchor boxes are 1:1. However, if one wants to change the aspect ratios of anchor boxes for example, to 1:1.4 (width:height) the network structure must be changed or just the training code & decoding strategy (i.e., utils.py or anchor.py) must be changed? Would you please explain how one can change the aspect ratios of anchor boxes?

@louis-she
Copy link
Owner

louis-she commented Jul 9, 2018

Currently the aspect ratio of anchors is hard code to 1:1. But I already have plans to support other object detection(not only for "square" faces) so the aspect ratio of anchors will be necessary. Since then you will be able to change the aspect ratio of anchors. Thanks.

@louis-she
Copy link
Owner

This issue should be opened until the ANCHOR_RATIO been added to config.py

@louis-she louis-she added the feature New feature label Jul 9, 2018
@ahkarami
Copy link
Contributor Author

ahkarami commented Jul 9, 2018

@louis-she,
Thank you for your time & response.

@ahkarami
Copy link
Contributor Author

Dear @louis-she,
Do you have any plan for adding ANCHOR_RATIO in near future?

@louis-she
Copy link
Owner

I'm now working on improving the behavior of the model ( mainly about the mAP ). If you are interested in this, a PR is welcomed.

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

No branches or pull requests

3 participants