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

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

Open
Ohandsomeboy opened this issue Sep 7, 2022 · 6 comments

Comments

@Ohandsomeboy
Copy link

No description provided.

@Ohandsomeboy Ohandsomeboy changed the title How to train your segmentation data with seg in U7? What is the data set format? How to train your segmentation data with seg in U7? What is the data set format?Thanks!! Sep 7, 2022
@WongKinYiu
Copy link
Owner

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

@Ohandsomeboy
Copy link
Author

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

@updatelse
Copy link

updatelse commented Sep 8, 2022

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.

@JerolSOIBAM
Copy link

@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

@updatelse
Copy link

@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.

@laitathei
Copy link

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

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

5 participants