Skip to content

Commit

Permalink
Add hint on how to get ultralytics with YOLOv10 models support
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz-roboflow committed Aug 26, 2024
1 parent 1fb6471 commit 1336659
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ workspace.upload_dataset(
# upload model weights
version.deploy(model_type="yolov8", model_path=f”{HOME}/runs/detect/train/”)

# upload model weights - yolov10
# Before attempting to upload YOLOv10 models install ultralytics like this:
# pip install git+https://github.com/THU-MIG/yolov10.git
version.deploy(model_type="yolov10", model_path=f”{HOME}/runs/detect/train/”, filename="weights.pt")

# run inference
model = version.model

Expand Down

0 comments on commit 1336659

Please sign in to comment.