All YOLOv8 and YOLOv5 models for object detection supported#18
Merged
vietanhdev merged 20 commits intovietanhdev:masterfrom Apr 14, 2023
Merged
All YOLOv8 and YOLOv5 models for object detection supported#18vietanhdev merged 20 commits intovietanhdev:masterfrom
vietanhdev merged 20 commits intovietanhdev:masterfrom
Conversation
added 18 commits
April 12, 2023 19:50
vietanhdev
requested changes
Apr 14, 2023
Owner
vietanhdev
left a comment
There was a problem hiding this comment.
- Please add onnxruntime-gpu to pyproject.toml and requirements-macos.txt also.
| if model_info["type"] == "yolov5": | ||
| from .yolov5 import YOLOv5 | ||
|
|
||
Author
I added the onnnruntime-gpu to Check the changes I made here, maybe it is what you required but I am not pretty sure: |
vietanhdev
approved these changes
Apr 14, 2023
Owner
|
@hdnh2006 "onnxruntime-gpu" is not supported on mac m1. Therefore I removed it from pyproject.toml and requirements-macos.txt. |
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.
This PR supports all the YOLOv5 v7.0 models and all the YOLOv8 for object detection from Ultralytics.
A new class
YOLOv8has been created inside the codeyolov8.py. This class will deal with the post process of YOLOv8 which is a bit different of YOLOv5.Models must be exported with
opset=12with the code:However, they are available in my assets: https://github.com/hdnh2006/anylabeling-assets/releases/tag/v0.0.0.
The models must be added to @vietanhdev repo, otherwise, they need to be downloaded manually.