Update README.md
Browse files
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
|
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 =
|
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.
|