Skip to content

Training a custom Segment Model #160

Answered by fcakyon
mtbirdsall asked this question in Q&A
Discussion options

You must be logged in to vote

Yes there are pretrained weights for segment models, check this cli command yolov5 segment train --img 640 --weights yolov5s-seg.pt --epochs 1

For training it requires polygon annotations to be saved in XML format: https://github.com/ultralytics/yolov5/blob/93b23480f5fb789304bfeb52ba78758b5c80ce2b/segment/tutorial.ipynb

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mtbirdsall
Comment options

Answer selected by fcakyon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants