Open ahkarami opened 6 years ago
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.
This issue should be opened until the ANCHOR_RATIO
been added to config.py
@louis-she, Thank you for your time & response.
Dear @louis-she,
Do you have any plan for adding ANCHOR_RATIO
in near future?
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.
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
oranchor.py
) must be changed? Would you please explain how one can change the aspect ratios of anchor boxes?