Datasets:
dkagramanyan
commited on
Commit
•
294690e
1
Parent(s):
c0f98eb
Update README.md
Browse files
README.md
CHANGED
@@ -45,8 +45,10 @@ cd handwritten_text_detection
|
|
45 |
2) use data.yaml for training
|
46 |
|
47 |
```
|
48 |
-
import
|
49 |
-
|
|
|
|
|
50 |
```
|
51 |
|
52 |
|
|
|
45 |
2) use data.yaml for training
|
46 |
|
47 |
```
|
48 |
+
from ultralytics import YOLO
|
49 |
+
|
50 |
+
model = YOLO('yolov8n.pt')
|
51 |
+
model.train(data='data.yaml', epochs=20)
|
52 |
```
|
53 |
|
54 |
|