Jose Paredes
commited on
Commit
•
74ac659
1
Parent(s):
8db22e4
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
base_model: jameslahm/yolov10m
|
5 |
+
tags:
|
6 |
+
- object detection
|
7 |
+
- cs2
|
8 |
+
---
|
9 |
+
# Counter Strike 2 players detector
|
10 |
+
|
11 |
+
### Supported Labels
|
12 |
+
[ 'CT', 'T' ]
|
13 |
+
|
14 |
+
### models
|
15 |
+
YOLOv10m
|
16 |
+
|
17 |
+
## How to use
|
18 |
+
from ultralytics import YOLO
|
19 |
+
|
20 |
+
# Load a pretrained YOLO model
|
21 |
+
model = YOLO(r'weights\yolov10m_cs2.pt')
|
22 |
+
|
23 |
+
# Run inference on 'image.png' with arguments
|
24 |
+
model.predict(
|
25 |
+
'image.png',
|
26 |
+
save=True,
|
27 |
+
device=0
|
28 |
+
)
|