Implement YOLOE open-vocabulary instance segmentation model#34
Open
rycerzes wants to merge 2 commits intoCVHub520:mainfrom
Open
Implement YOLOE open-vocabulary instance segmentation model#34rycerzes wants to merge 2 commits intoCVHub520:mainfrom
rycerzes wants to merge 2 commits intoCVHub520:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support YOLOE open-vocabulary instance segmentation models, including both text/visual prompt and prompt-free variants. This PR adds support for flexible segmentation modes via text prompts, visual prompts (bounding boxes), or prompt-free operation. The models are registered but commented out by default in the main models configuration.
YOLOE Segmentation Model Implementation:
YOLOESegmentationmodel class inapp/models/yoloe.pysupporting text prompt, visual prompt, and prompt-free segmentation modes, with detailed inference logic, mask-to-polygon conversion, and post-processing to output shapes.Model Configuration Files:
yoloe_26s_seg.yaml: Text/visual prompt mode for the 26S variant.yoloe_26s_seg_pf.yaml: Prompt-free mode for the 26S variant.yoloe_26l_seg.yaml: Text/visual prompt mode for the 26L variant.Model Registration:
@register_modeldecorator inyoloe.py, making them available for use in the platform.Model Availability:
configs/models.yamlto include (commented out) entries for the new YOLOE segmentation models, allowing easy activation as needed.