yolov7 icon indicating copy to clipboard operation
yolov7 copied to clipboard

How to train your segmentation data with seg in U7? What is the data set format?Thanks!!

Open Ohandsomeboy opened this issue 2 years ago • 5 comments

Ohandsomeboy avatar Sep 07 '22 05:09 Ohandsomeboy

Detection (box): class x_center y_center width height Instance segmentation (polygon): class x1 y1 x2 y2 ... xn yn

WongKinYiu avatar Sep 07 '22 06:09 WongKinYiu

Detection (box): class x_center y_center width height Instance segmentation (polygon): class x1 y1 x2 y2 ... xn yn

Is the instance segmentation label like this? 0 0.045180722891566265 0.6942771084337349 0.007153614457831325 0.012382864792503346 0.0416039156626506 0.6887550200803213 0.046121987951807226 0.6880856760374833 0.04593373493975904 0.6951137884872824 0.04875753012048193 0.7004685408299867 0 0.09770331325301204 0.7434738955823293 0.009036144578313253 0.009705488621151271 0.10222138554216867 0.7386211512717537 0.09920933734939759 0.7419678714859438 0.09695030120481928 0.7449799196787149 0.09318524096385543 0.7483266398929049

Ohandsomeboy avatar Sep 08 '22 05:09 Ohandsomeboy

Detection (box): class x_center y_center width height Instance segmentation (polygon): class x1 y1 x2 y2 ... xn yn

Is the instance segmentation label like this? 0 0.045180722891566265 0.6942771084337349 0.007153614457831325 0.012382864792503346 0.0416039156626506 0.6887550200803213 0.046121987951807226 0.6880856760374833 0.04593373493975904 0.6951137884872824 0.04875753012048193 0.7004685408299867 0 0.09770331325301204 0.7434738955823293 0.009036144578313253 0.009705488621151271 0.10222138554216867 0.7386211512717537 0.09920933734939759 0.7419678714859438 0.09695030120481928 0.7449799196787149 0.09318524096385543 0.7483266398929049

Hello, which program is used to generate x1, y1, x2, y2... xn, yn? At present, I only have JSON files marked by labelme.

updatelse avatar Sep 08 '22 12:09 updatelse

@updatelse Use the json/coco format then convert it to Yolo v5 format. You can find the link for the code https://github.com/ultralytics/JSON2YOLO

JerolSOIBAM avatar Sep 08 '22 17:09 JerolSOIBAM

@updatelse Use the json/coco format then convert it to Yolo v5 format. You can find the link for the code https://github.com/ultralytics/JSON2YOLO

Thank you, i understand. Thank you very much.

updatelse avatar Sep 09 '22 09:09 updatelse

I make the tutorial starting from labeling to training or even inferencing You can watch this video https://www.youtube.com/watch?v=Rff5RhCOj30

laitathei avatar Sep 29 '22 03:09 laitathei