Skip to content

Conversation

@mkaic
Copy link
Contributor

@mkaic mkaic commented Dec 24, 2025

One-line change. Current behavior is that RFDETRInstanceSegmentation incorrectly inherits task_type from RFDETRObjectDetection, which in turn inherits from ObjectDetectionBaseOnnxRoboflowInferenceModel, resulting in task_type = "object-detection" when it should be task_type = "instance-segmentation".

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How has this change been tested, please provide a testcase or example of how you tested the change?

running get_model on an rfdetr-seg-preview model now correctly produces an RFDETRInstanceSegmentation instance which has task_type = "instance-segmentation.

Any specific deployment considerations

N/A

Docs

N/A

…e otherwise it is incorrectly inherited from RFDETRObjectDetection, which in turn inherits from ObjectDetectionBaseOnnxRoboflowInferenceModel
@mkaic mkaic marked this pull request as ready for review December 24, 2025 20:30
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

Successfully merging this pull request may close these issues.

3 participants