vprashant commited on
Commit
908b99e
·
verified ·
1 Parent(s): 8dc96ef

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -20,7 +20,7 @@ Below are the steps and code implementation.
20
  import cv2
21
  import matplotlib.pyplot as plt
22
  import numpy as np
23
- from ultralytics import YOLOv10
24
  from google.colab.patches import cv2_imshow
25
  ```
26
 
@@ -34,7 +34,7 @@ from google.colab.patches import cv2_imshow
34
 
35
  ## Step 2: Load YOLOv10 Model
36
  ```python
37
- model = YOLOv10('vprashant/doclayout_detector/weights')
38
  ```
39
 
40
  - Load the YOLOv10 model with the path to your trained weights.
 
20
  import cv2
21
  import matplotlib.pyplot as plt
22
  import numpy as np
23
+ from ultralytics import YOLO
24
  from google.colab.patches import cv2_imshow
25
  ```
26
 
 
34
 
35
  ## Step 2: Load YOLOv10 Model
36
  ```python
37
+ model = YOLO('vprashant/doclayout_detector/weights')
38
  ```
39
 
40
  - Load the YOLOv10 model with the path to your trained weights.