dkagramanyan commited on
Commit
294690e
1 Parent(s): c0f98eb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -45,8 +45,10 @@ cd handwritten_text_detection
45
  2) use data.yaml for training
46
 
47
  ```
48
- import ultralytics
49
- results = model.train(data='data.yaml', epochs=20)
 
 
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