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

关于分割 #129

Closed
xiyangyang99 opened this issue Mar 13, 2024 · 4 comments
Closed

关于分割 #129

xiyangyang99 opened this issue Mar 13, 2024 · 4 comments

Comments

@xiyangyang99
Copy link

利用官方提供的分割权重和config,分割output里面似乎没有分割mask。image_demo.py支持instance segment嘛?

@wondervictor
Copy link
Collaborator

@QzYER demo目前不支持分割可视化

@Ningchuan-Li
Copy link

我是对demo.py增加以下代码实现分割可视化的:

  • 23行:MASK_ANNOTATOR = sv.MaskAnnotator()
  • 77行:mask=pred_instances['masks']
  • 88行:image = MASK_ANNOTATOR.annotate(image, detections)

@wondervictor
Copy link
Collaborator

@xiyangyang99 image_demo目前已经支持分割可视化,感谢 @Ningchuan-Li 提供的有效建议!

@wondervictor
Copy link
Collaborator

Thanks for your interest. If you have any questions about YOLO-World in the future, you're welcome to open a new issue.

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

3 participants