Convert the COCO RLE format to YOLOv5/v8 segmentation format. (Sourcery refactored) #62
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.
Pull Request #61 refactored by Sourcery.
Since the original Pull Request was opened as a fork in a contributor's
repository, we are unable to create a Pull Request branching from it.
To incorporate these changes, you can either:
Merge this Pull Request instead of the original, or
Ask your contributor to locally incorporate these commits and push them to
the original Pull Request
Incorporate changes via command line
NOTE: As code is pushed to the original Pull Request, Sourcery will
re-run and update (force-push) this Pull Request with new refactorings as
necessary. If Sourcery finds no refactorings at any point, this Pull Request
will be closed automatically.
See our documentation here.
Run Sourcery locally
Reduce the feedback loop during development by using the Sourcery editor plugin:
Help us improve this pull request!
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
📊 Key Changes
🎯 Purpose & Impact
The purpose of these changes is to enhance the JSON2YOLO conversion tool to support more complex annotation formats used in computer vision datasets, especially keypoints and segmentation masks. 🌐 This will allow developers and researchers who use the YOLO format for object detection and instance segmentation tasks to work with a broader range of datasets that may contain different types of annotations. For non-experts, these features make it easier to convert datasets without needing an in-depth understanding of annotation formats, potentially accelerating their AI/ML projects.
🌟 Summary
Now you can convert COCO dataset annotations with keypoints and segmentation to the YOLO format in a snap! 🎉 This update makes your data transformation tasks much simpler and supports more types of computer vision training escapades. 🚀