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

Formula with Area Scale and TF Scale #3

Open
hugegene opened this issue Apr 26, 2020 · 0 comments
Open

Formula with Area Scale and TF Scale #3

hugegene opened this issue Apr 26, 2020 · 0 comments

Comments

@hugegene
Copy link

hugegene commented Apr 26, 2020

Hi Joydeepmedhi,

Thanks for these codes. They are very helpful.

Can i ask why the formula for Area Scale is
data['b_area_scale'] = (data['w']*data['h']/(base_box)).apply(np.sqrt)
instead of
data['b_area_scale'] = (data['b_w']*data['b_h']/(base_box)).apply(np.sqrt)?

and why the for formula for TF Scale is
data['tf_scale'] = data['b_h'](data['b_ar']).apply(np.sqrt)/base_anchor
instead of
data['tf_scale'] = data['b_h']
(data['b_ar'])/base_anchor?
(why is square root needed for TF Scale?)

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

1 participant