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

hello,how to use your code on my dataset? #1

Open
yehaizi1995 opened this issue Jul 4, 2020 · 1 comment
Open

hello,how to use your code on my dataset? #1

yehaizi1995 opened this issue Jul 4, 2020 · 1 comment

Comments

@yehaizi1995
Copy link

my dataset format is VOC for yolo v3,i don't know how to use code to generate the anchors,could you give me a hand?

@zabir-nabil
Copy link
Owner

zabir-nabil commented Jul 5, 2020

This repo supports the official https://github.com/pjreddie/darknet data format. So, each object location is annotated as "class_id x_center y_center width height"

You can find a dummy data example in my https://github.com/zabir-nabil/yolov3-anchor-clustering/blob/master/data/lp_test/ folder.

You have to convert the VOC annotations to the darknet format [convert from (x1, y1, x2, y2) to (xc, yc, w, h) and normalize].

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