Update README.md
Browse files
README.md
CHANGED
|
@@ -11,4 +11,14 @@ pipeline_tag: object-detection
|
|
| 11 |
|
| 12 |
Github: https://github.com/LilianHollard/LeYOLO
|
| 13 |
|
| 14 |
-
Paper: https://arxiv.org/abs/2406.14239
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
Github: https://github.com/LilianHollard/LeYOLO
|
| 13 |
|
| 14 |
+
Paper: https://arxiv.org/abs/2406.14239
|
| 15 |
+
|
| 16 |
+
Minimal example:
|
| 17 |
+
|
| 18 |
+
```
|
| 19 |
+
#clone github
|
| 20 |
+
#inside LeYOLO folder, load LeYOLO weights (nano, small, medium or large)
|
| 21 |
+
model = YOLO.from_pretrained("lhollard/leyolo-large")
|
| 22 |
+
#use ultralytics CLI and Python tools
|
| 23 |
+
results = model.val(data="ultralytics/cfg/datasets/coco8.yaml")
|
| 24 |
+
```
|