Add GTR detection checkpoint
Browse files
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Intellindust-AI-Lab
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
LibreGTRx.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10c9fac9c3a9d7d6b155163402d361164d1bf9f05c1d88facb9dec8ca1f9f3f3
|
| 3 |
+
size 186429241
|
NOTICE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
LibreGTRx weights
|
| 2 |
+
|
| 3 |
+
Derived from Intellindust-AI-Lab/GTR, source revision
|
| 4 |
+
782e737efe2e6437ac537fbdcee089673d3376c1 (MIT).
|
| 5 |
+
Copyright (c) 2026 Intellindust-AI-Lab.
|
| 6 |
+
https://github.com/Intellindust-AI-Lab/GTR
|
| 7 |
+
|
| 8 |
+
Checkpoint source: Phoenix8125/GTR at 9fc62c8c2b2c976835d0f1c1ffc544dbc0f9e29f
|
| 9 |
+
Artifact: det/gtr_x_coco.pth
|
| 10 |
+
SHA256: 547cc2c2d29b32315fa9d533431e35ed0b17807e82f0803779a91f268ff878fb
|
| 11 |
+
The publisher explicitly declares MIT in the source weight repository's card.
|
| 12 |
+
|
| 13 |
+
LibreYOLO selects the published EMA state dict and adds schema v1.0 metadata.
|
| 14 |
+
Learned tensor names and values are unchanged. Optimizer/training state is not
|
| 15 |
+
redistributed. The detector was pretrained on Objects365 and fine-tuned on COCO.
|
README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: libreyolo
|
| 4 |
+
pipeline_tag: object-detection
|
| 5 |
+
tags:
|
| 6 |
+
- object-detection
|
| 7 |
+
- gtr
|
| 8 |
+
- pytorch
|
| 9 |
+
- libreyolo
|
| 10 |
+
- coco
|
| 11 |
+
datasets:
|
| 12 |
+
- detection-datasets/coco
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# LibreGTRx
|
| 16 |
+
|
| 17 |
+
GTR-X COCO detection weights converted for LibreYOLO.
|
| 18 |
+
|
| 19 |
+
GTR support is being prepared for LibreYOLO v1.6.0. Earlier PyPI releases may
|
| 20 |
+
not include this model family.
|
| 21 |
+
|
| 22 |
+
## Usage
|
| 23 |
+
|
| 24 |
+
With a LibreYOLO version that includes GTR:
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
from libreyolo import LibreYOLO
|
| 28 |
+
model = LibreYOLO("LibreGTRx.pt")
|
| 29 |
+
results = model.predict("image.jpg")
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
The default input is 640 by 640 pixels. This checkpoint supports detection.
|
| 33 |
+
|
| 34 |
+
## Source
|
| 35 |
+
|
| 36 |
+
[Official GTR implementation](https://github.com/Intellindust-AI-Lab/GTR/tree/782e737efe2e6437ac537fbdcee089673d3376c1),
|
| 37 |
+
source revision `782e737efe2e6437ac537fbdcee089673d3376c1`.
|
| 38 |
+
|
| 39 |
+
[Published checkpoint](https://huggingface.co/Phoenix8125/GTR/blob/9fc62c8c2b2c976835d0f1c1ffc544dbc0f9e29f/det/gtr_x_coco.pth),
|
| 40 |
+
weight repository revision `9fc62c8c2b2c976835d0f1c1ffc544dbc0f9e29f`.
|
| 41 |
+
Copyright (c) 2026 Intellindust-AI-Lab. The source code is MIT licensed and the
|
| 42 |
+
publisher's weight repository explicitly declares MIT.
|
| 43 |
+
|
| 44 |
+
## Modifications
|
| 45 |
+
|
| 46 |
+
Selected the EMA state dict and added LibreYOLO schema v1.0 metadata.
|
| 47 |
+
Learned parameters and state-dict keys are unchanged. Training/optimizer state
|
| 48 |
+
was removed. Conversion uses `weights/convert_gtr_weights.py` in the
|
| 49 |
+
[LibreYOLO source repository](https://github.com/LibreYOLO/libreyolo).
|
| 50 |
+
|
| 51 |
+
## Validation
|
| 52 |
+
|
| 53 |
+
Checkpoint schema, exact tensor preservation, strict loading and CPU prediction
|
| 54 |
+
were checked for this artifact. CUDA parity, independent COCO accuracy and RF1
|
| 55 |
+
training validation are deferred to the LibreYOLO v1.6.0 release checks.
|
| 56 |
+
No independently reproduced accuracy or latency numbers are claimed here.
|
| 57 |
+
|
| 58 |
+
## License
|
| 59 |
+
|
| 60 |
+
MIT. See [LICENSE](./LICENSE) and [NOTICE](./NOTICE).
|