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

<feat>Support ultralytics classification #44

Merged
merged 4 commits into from
Oct 31, 2024
Merged

<feat>Support ultralytics classification #44

merged 4 commits into from
Oct 31, 2024

Conversation

315386775
Copy link
Contributor

@315386775 315386775 commented Oct 30, 2024

Main changes

  1. Support classification of ultralytics' yolov11 and yolov8.
  2. Render results (such as bounding boxes, masks, keypoints, and probabilities)

Code example

model = xinfer.create_model("ultralytics/yolov11n-cls", device="cuda", dtype="float16")
results = model.infer("https://ultralytics.com/images/bus.jpg")
model.render('./res')
results

@dnth new feature, please check it.

@dnth dnth merged commit c5d1a45 into dnth:main Oct 31, 2024
6 checks passed
@dnth
Copy link
Owner

dnth commented Oct 31, 2024

Thank you @315386775!

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.

2 participants