Run this model with HF Jobs

Run LibreYOLO/LibreRTDETRv2r50 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/LibreYOLO/LibreRTDETRv2r50. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/LibreYOLO/LibreRTDETRv2r50 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

LibreRTDETRv2r50

RT-DETRv2 ResNet-50_vd COCO detector, repackaged for the LibreYOLO framework.

Source

Derived from https://github.com/lyuwenyu/RT-DETR at commit a21d516aca15da57e65f35c47659c7535ad2b6b3 and upstream checkpoint: https://github.com/lyuwenyu/storage/releases/download/v0.1/rtdetrv2_r50vd_6x_coco_ema.pth.

The ResNet_vd backbone lineage traces to PaddleClas. Both projects are Apache-2.0 licensed.

Modifications

EMA weights were unwrapped, encoder.input_proj keys were remapped from named submodules to LibreYOLO's sequential layout where required, and the checkpoint was saved with LibreYOLO metadata schema v1.0. Learned tensors are unchanged apart from layout-compatible key names.

Validation

This file was validated locally with LibreYOLO checkpoint metadata schema v1.0, loaded through LibreYOLO, and evaluated on coco128.yaml with workers=0, batch=8, conf=0.001, iou=0.6.

Metric Value
COCO128 mAP50-95 0.6654
COCO128 mAP50 0.8473
SHA256 07f35a38eaa44fd0a462a2e5ed16efc8e5cb73caa82e17706b133c487140b442
File size 164.5 MB

Usage

pip install libreyolo
from libreyolo import LibreYOLO

model = LibreYOLO("LibreRTDETRv2r50.pt")
results = model("image.jpg", save=True)

License

Apache License 2.0. See the LICENSE and NOTICE files in this repository.

Downloads last month
66
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including LibreYOLO/LibreRTDETRv2r50