WongKinYiu / yolov7

Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
GNU General Public License v3.0
13.38k stars 4.22k forks source link

Tool for convert YOLO annotation format to polygon #806

Open Rezam1998 opened 2 years ago

Rezam1998 commented 2 years ago

Hello everyone, I have a custom dataset with 3000 images and YOLO bbox label format. But now I need to do instance segmentation task on it. Is there any tool to create segmentation label for this large dataset? Thank you.

xiaoguaishoubaobao commented 2 years ago

How can I convert the coco polygon dataset to the yolo polygon dataset?

Rezam1998 commented 2 years ago

You can find the solution here : https://github.com/WongKinYiu/yolov7/issues/795#issuecomment-1248941687

But what I want, is exactly the reverse progress, I want to create polygon label from yolo annotated label.

WongKinYiu commented 2 years ago

We can not convert box to polygon.

Rezam1998 commented 2 years ago

We can not convert box to polygon.

Thank you @WongKinYiu for your reply. it seems I have to label my dataset from scratch.