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

Fixing yolov8-seg validation #1522

Merged
merged 3 commits into from
Apr 14, 2023
Merged

Fixing yolov8-seg validation #1522

merged 3 commits into from
Apr 14, 2023

Conversation

abhinavnmagic
Copy link
Member

The PR enables segmentation evaluation for yolov8 models, which currently fails. It implements a function that extends detach to PyTorch expected types ie. list or tuples.

Testing:

  • Evaluation works for both detection and segmentation models obtained form either SparseML or ultraltyics

src/sparseml/yolov8/utils/helpers.py Outdated Show resolved Hide resolved
@abhinavnmagic abhinavnmagic merged commit b442abc into main Apr 14, 2023
@abhinavnmagic abhinavnmagic deleted the fix/seg-validation branch April 14, 2023 07:07
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.

None yet

3 participants