Xuban commited on
Commit
9c3f462
·
verified ·
1 Parent(s): 4331fa8

Model card: add Usage section

Browse files
Files changed (1) hide show
  1. README.md +13 -0
README.md CHANGED
@@ -27,6 +27,19 @@ Converted with weights/convert_pidnet_weights.py in the [LibreYOLO source reposi
27
  The converter strips common checkpoint prefixes, omits PIDNet training-only auxiliary heads, keeps retained runtime parameters unchanged, and wraps the state dict with LibreYOLO checkpoint metadata (model_family=pidnet, size=l, ask=semantic,
28
  c=19, imgsz=1024).
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  ## License
31
 
32
  MIT License. See the [LICENSE](./LICENSE) and [NOTICE](./NOTICE) files in this repository.
 
27
  The converter strips common checkpoint prefixes, omits PIDNet training-only auxiliary heads, keeps retained runtime parameters unchanged, and wraps the state dict with LibreYOLO checkpoint metadata (model_family=pidnet, size=l, ask=semantic,
28
  c=19, imgsz=1024).
29
 
30
+ ## Usage
31
+
32
+ ```bash
33
+ pip install libreyolo
34
+ ```
35
+
36
+ ```python
37
+ from libreyolo import LibreYOLO
38
+
39
+ model = LibreYOLO("LibrePIDNetl-sem.pt")
40
+ results = model("image.jpg", save=True)
41
+ ```
42
+
43
  ## License
44
 
45
  MIT License. See the [LICENSE](./LICENSE) and [NOTICE](./NOTICE) files in this repository.