Instructions to use LibreYOLO/LibrePIDNetl-sem with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LibreYOLO
How to use LibreYOLO/LibrePIDNetl-sem with LibreYOLO:
# pip install libreyolo from libreyolo import LibreYOLO model = LibreYOLO("LibreYOLO/LibrePIDNetl-sem") results = model("https://raw.githubusercontent.com/LibreYOLO/libreyolo/release/libreyolo/assets/guggenheim-bilbao.jpg", save=True) - Notebooks
- Google Colab
- Kaggle
Model card: add Usage section
Browse files
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.
|