Skip to content

About

Yolov9 model in MLX

Resources

Stars

10 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Yolov9 MLX

Yolov9 code written in MLX.

Yolov9 Perfomance

Installation

You can install using pip

pip insall .

Load model

Pretrained weights from Yolov9:

Model can be load as following snippet.

from yolov9_mlx.models import yolo

model = yolo.Yolov9CConverted()
model.load_weights("yolov9-c-converted.safetensors")

y, d = model(im)

For more details on how to run detect, please refer to serve.py

Inference service

A model endpoint example is also available in serve.py].

Start service

pdm sync -G serving
pdm run serve

Send request to service

curl -XPOST -F 'image=@img.jpg' http://localhost:3000/detect

About

Yolov9 model in MLX

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages