Open kh-diab opened 1 month ago
Hello,
Thanks for the questions, you need to export it in COCO format, which should have a single json file which contains all the masks in run length encoded format (RLE). Use that file as the input as shown in example.py, that should help you but if you have any more questions please let me know,
thanks
Thank you in fact i tried but the script does nothing and no file are generated
Il giorno ven 2 ago 2024 alle 00:02 nicholasmaplin @.***> ha scritto:
Hello,
Thanks for the questions, you need to export it in COCO format, which should have a single json file which contains all the masks in run length encoded format (RLE). Use that file as the input as shown in example.py, that should help you but if you have any more questions please let me know,
thanks
— Reply to this email directly, view it on GitHub https://github.com/nicholasmaplin/cvat-segmentation-mask-to-yolo/issues/1#issuecomment-2264086947, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYO7PLTIIUIRVG2FPS6MPJDZPKV6NAVCNFSM6AAAAABL22I7KOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRUGA4DMOJUG4 . You are receiving this because you authored the thread.Message ID: @.*** com>
hello, thanks for the script I have CVAT installed locally I have images annotated using SAM model. with segmentation method. so I have masks
now I tried to export the data into yolo1.1 but the files annotated is empty. when I tried to export to coco, i has 1 json file with data, do you have a reason for this please knowing that I use CVAT hosted locally not online. it is the same issue you described but what format should I export from CVAT is it CVAT or COCO also does it produce a segmentation co-ordindates as well in the yolo files ?