Update README.md
Browse files
README.md
CHANGED
@@ -22,8 +22,6 @@ pip install supervision git+https://github.com/THU-MIG/yolov10.git
|
|
22 |
### Yolov10 Training/Validation/Prediction
|
23 |
```python
|
24 |
from ultralytics import YOLOv10
|
25 |
-
import cv2
|
26 |
-
IMAGE_PATH = 'dog.jpeg'
|
27 |
|
28 |
model = YOLOv10.from_pretrained('jameslahm/yolov10m')
|
29 |
# Training
|
@@ -35,7 +33,7 @@ model.push_to_hub("your-hf-username/yolov10-finetuned")
|
|
35 |
model.val(...)
|
36 |
|
37 |
# Prediction
|
38 |
-
model.predict(
|
39 |
```
|
40 |
|
41 |
### BibTeX Entry and Citation Info
|
|
|
22 |
### Yolov10 Training/Validation/Prediction
|
23 |
```python
|
24 |
from ultralytics import YOLOv10
|
|
|
|
|
25 |
|
26 |
model = YOLOv10.from_pretrained('jameslahm/yolov10m')
|
27 |
# Training
|
|
|
33 |
model.val(...)
|
34 |
|
35 |
# Prediction
|
36 |
+
model.predict(...)
|
37 |
```
|
38 |
|
39 |
### BibTeX Entry and Citation Info
|