Skip to content

Commit

Permalink
initial vision test, pc
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulgoel873 committed Dec 31, 2024
1 parent 5f16f84 commit 76e2b10
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ docker-compose.yml~
*TEMP_DO_NOT_EDIT.txt
rb_ws/src/buggy/bags/*
*.bag
vision/data/*
vision/data/*
.vision/*
1 change: 1 addition & 0 deletions vision-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ultralytics
8 changes: 8 additions & 0 deletions vision/ultralytics-train.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from ultralytics import YOLO

# Load a model
model = YOLO("yolo11n.pt") # load a pretrained model (recommended for training)

# Train the model with MPS
results = model.train(data="/Users/mehulgoel/Documents/robobuggy-software/vision/data/Buggy Vision.v1i.yolov11/data.yaml", epochs=100, imgsz=640, device="mps")
print(results)
Binary file added vision/yolo11n.pt
Binary file not shown.

0 comments on commit 76e2b10

Please sign in to comment.