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 design anchor size? #23

Open
twinsyssy1018 opened this issue Nov 9, 2017 · 2 comments
Open

how to design anchor size? #23

twinsyssy1018 opened this issue Nov 9, 2017 · 2 comments

Comments

@twinsyssy1018
Copy link

hi,thanks for your sharing.i want to train on my dataset,my targets are much smaller. could you tell me how to change the anchor size . in your code it is like this:
anchors = [
1.3221, 1.73145,
3.19275, 4.00944,
5.05587, 8.09892,
9.47112, 4.84053,
11.2364, 10.0071]

i dont know exact means of these corresponds, is it (w,h) of box ?

@franciszzj
Copy link

@twinsyssy1018 In YOLOv2, we got the anchor by K-Means, which was explained by the paper:https://arxiv.org/abs/1612.08242. You can use this to generate anchors fit your own dataset.

@nvnnghia
Copy link

nvnnghia commented Feb 9, 2018

@twinsyssy1018 did you figure it out?

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

3 participants