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

How to set the PRIOR_HEIGHTS and PRIOR_WEIGHTS #8

Open
ChengF-Lab opened this issue Jul 21, 2019 · 1 comment
Open

How to set the PRIOR_HEIGHTS and PRIOR_WEIGHTS #8

ChengF-Lab opened this issue Jul 21, 2019 · 1 comment

Comments

@ChengF-Lab
Copy link

I don not know how to set the specific values of these two arrays according to my own dataset. I set a them roughly but I get runtime error around here encoded[2] = math.log(ground[2] / prior[2])

@Anquanzhi
Copy link

The two parameters PRIOR_HEIGHTS and PRIOR_WEIGHTS appear in pairs. In other words, the two lists should have the same length. Reasonable setting of these two parameters needs to be considered in combination with your own data. Generally, several distribution centers of the target length and width in the data set are selected as the basis for setting these two parameters.
Reference: our paper "DRBox-v2:An Improved Detector with Rotatable
Boxes for Target Detection in SAR Images" IV, B, 2)

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

2 participants