Object Detection
libreyolo
dino-detr
detr

LibreDINODETRr50

The official four-scale ResNet-50 DINO checkpoint (49.0 AP on COCO val2017), packaged for LibreYOLO.

from libreyolo import LibreYOLO

model = LibreYOLO("LibreDINODETRr50.pt")
results = model.predict("image.jpg")

LibreYOLO ships this museum family for inference only. Its portable deformable attention uses the pure-PyTorch grid_sample reference path; the custom CUDA extension is not packaged. Native and ONNX inference use a fixed 800 x 800 PIL-bilinear stretch with ImageNet normalization. That deployment transform intentionally differs from upstream's short-side-800/max-1333 evaluation transform.

Source

Architecture and checkpoint released by IDEA-Research/DINO at commit d84a491d41898b3befd8294d1cf2614661fc0953. Copyright (c) 2022 IDEA. All Rights Reserved. The repository declares DINO under Apache License 2.0.

The official checkpoint0011_4scale.pth comes from the authors' Google Drive release. Source SHA-256: 0bcd6b0c33d60ed33461ce6f02ce5797a819c7c02eb7e15b76adfb6df307955a.

The checkpoint binary has no separate license file or license metadata. This mirror uses Apache-2.0 implied by the releasing repository's declaration, not a publisher-confirmed checkpoint-specific grant.

Modifications

The complete upstream state dict is copied without renaming or transforming learned tensors. Conversion strictly loads it against the native architecture and adds LibreYOLO checkpoint metadata. The released 91-column COCO category-id head is retained and mapped to contiguous COCO-80 classes during postprocess.

The converted checkpoint SHA-256 is 8b2243075a086e17c898d80ceb939784b1b56d44c5aca26256b4914f3b8d5d03. LibreYOLO's output tensors are bit-exact against the pinned upstream pure-PyTorch path (max_abs_diff == 0.0). ONNX Runtime maximum absolute differences were 3.00e-5 for logits and 3.96e-6 for boxes; a real-image backend comparison retained the same 85 detections and classes.

See weights/convert_dinodetr_weights.py and docs/provenance/dinodetr.md in the LibreYOLO source repository.

License

Apache License 2.0 on the releasing-project implied basis described above. See the LICENSE and NOTICE files in this repository.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train LibreYOLO/LibreDINODETRr50

Collection including LibreYOLO/LibreDINODETRr50