| license: other | |
| license_name: yolo-license | |
| license_link: LICENSE | |
| library_name: libreyolo | |
| pipeline_tag: object-detection | |
| tags: | |
| - object-detection | |
| - yolov2 | |
| - libreyolo | |
| # LibreYOLO2t | |
| YOLOv2-tiny object detector, repackaged as a LibreYOLO checkpoint for use with the [LibreYOLO](https://github.com/LibreYOLO/libreyolo) library. | |
| ## Source | |
| Derived from the [Darknet](https://github.com/pjreddie/darknet) project (pjreddie/darknet). Darknet is public domain (the "YOLO LICENSE"); the original `.cfg` architecture and pretrained `.weights` carry no license obligations. | |
| ## Modifications | |
| The Darknet `.weights` binary was converted to a LibreYOLO v1.0 checkpoint (a state-dict mapping into the native LibreYOLO module graph). Learned parameters are unchanged. See `weights/convert_darknet_weights.py` in the [LibreYOLO source repository](https://github.com/LibreYOLO/libreyolo). | |
| ## Usage | |
| ```python | |
| from libreyolo import LibreYOLO | |
| model = LibreYOLO("LibreYOLO2t.pt") | |
| results = model.predict("image.jpg", save=True) | |
| ``` | |
| ## License | |
| Public domain (Darknet "YOLO LICENSE"). See the [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE) files in this repository. | |