Update README.md
Browse files
README.md
CHANGED
@@ -2,8 +2,23 @@
|
|
2 |
tags:
|
3 |
- model_hub_mixin
|
4 |
- pytorch_model_hub_mixin
|
|
|
5 |
---
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
tags:
|
3 |
- model_hub_mixin
|
4 |
- pytorch_model_hub_mixin
|
5 |
+
pipeline_tag: object-detection
|
6 |
---
|
7 |
|
8 |
+
# LeYOLO
|
9 |
+
|
10 |
+
### LeYOLO Medium weights - HuggingFace integration
|
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-medium")
|
22 |
+
#use ultralytics CLI and Python tools
|
23 |
+
results = model.val(data="ultralytics/cfg/datasets/coco8.yaml")
|
24 |
+
```
|