pylabel-project / pylabel

Python library for computer vision labeling tasks. The core functionality is to translate bounding box annotations between different formats-for example, from coco to yolo.
MIT License
317 stars 56 forks source link

It's possible to import YOLO segmentation dataset? #111

Open claudio9russo7 opened 1 year ago

claudio9russo7 commented 1 year ago

Hello, i was trying to import a yolo dataset with segmentation as annotation but i get error. Is planned this feature?

Thanks Screenshot 2023-05-20 103332

alexheat commented 1 year ago

Hi, if you have a request I can work on it. What is the reason you want to do this? Do you want to convert it to Coco segmentation or do something else with it? I want to understand your total use case

claudio9russo7 commented 1 year ago

Yes, the idea is to use yolo to make a partial annotation of images than convert to COCO to make possible the upload on different annotation tool and finish the task

fatemeh-mohseni-AI commented 1 month ago

any solution ? I encounter this problem too .

The error ValueError: too many values to unpack (expected 5) typically occurs when reading YOLO annotations where you expect five values per line (e.g., class_id, center_x, center_y, width, height), but there are more than five values present in your YOLOv9 instance segmentation format. This might happen if your annotations contain additional polygon points for segmentation.