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

yolov3 dataset formart #12

Open
bd7jat opened this issue Feb 18, 2020 · 1 comment
Open

yolov3 dataset formart #12

bd7jat opened this issue Feb 18, 2020 · 1 comment

Comments

@bd7jat
Copy link

bd7jat commented Feb 18, 2020

Hello,
i fellow the instruction of https://github.com/qqwweee/keras-yolo3 and try to build custom dataset,
One row for one image;
Row format: image_file_path box1 box2 ... boxN;
Box format: x_min,y_min,x_max,y_max,class_id (no space).
and i found an example
/home/zhangyang/yolo/VOC2007/JPEGImages/00040.jpg 64,52,162,106,1
/home/zhangyang/yolo/VOC2007/JPEGImages/00010.jpg 67,321,500,411,0
/home/zhangyang/yolo/VOC2007/JPEGImages/00007.jpg 36,342,451,483,0
So i use Yolo-Annotation-Tool-New to lable,and got lots txt file like this
0 0.508 0.545180722892 0.7 0.801204819277 from lable folder, they looks like not the same as
keras-yolo3 required,
I saw your post in keras-yolov3 issue264 ,
Please use my new yolo annotation tool.
Because it will return the yolo format class_id,x_min,y_min,x_max,y_max not x,y,width and height.
Did i do something wrong ?Or i need to do some extra job manully ?

@ManivannanMurugavel
Copy link
Owner

Hi @bd7jat ,
The correct yolo format is
class_id,mid_x,mid_y,width,height

The all txt file has that corresponding image bbox values.

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