Skip to content
ModelVerifiedExternal
Download

Detr Resnet 50

> Carion et al., 2020 — End-to-End Object Detection with Transformers (arXiv:2005.12872)

KindObject detectorVersionRevision e242befPublisher@lucid-dlCgrade

Model source

Kind
Object detector
File size
159 MB
Version
vRevision e242bef
Updated
Oct 3, 2026
Publisher
@lucid-dl
Downloads
0
Tasks
Object detection
Source
Hugging Face

Source description

DETR (ResNet-50)

Carion et al., 2020 — End-to-End Object Detection with Transformers (arXiv:2005.12872)

Lucid port of facebookresearch/detr/detr_resnet50, converted to Lucid-native safetensors.

Available weights

Tagbox mAPParamsGFLOPsSizeSource
COCO_2017 (default)42.041.5M—158.86 MBfacebookresearch

Usage

import lucid.models as models
from lucid.models.weights import DETRResNet50Weights

# default tag
model = models.detr_resnet50(pretrained=True)

# explicit tag (enum or string)
model = models.detr_resnet50(weights=DETRResNet50Weights.COCO_2017)
model = models.detr_resnet50(pretrained="COCO_2017")

# preprocessing travels with the weights
weights = DETRResNet50Weights.COCO_2017
preprocess = weights.transforms()
out = model(preprocess(image)[None])
# ObjectDetectionOutput: per-query/proposal class logits + boxes
logits, boxes = out.logits, out.pred_boxes

Conversion

Converted from facebookresearch/detr/detr_resnet50 via python -m tools.convert_weights detr_resnet50 --tag COCO_2017. Key mapping + numerical parity verified against the source.

License

apache-2.0 — inherited from the original weights.

Citation

@inproceedings{carion2020detr,
  title={End-to-End Object Detection with Transformers},
  author={Carion, Nicolas and Massa, Francisco and Synnaeve, Gabriel and Usunier, Nicolas and Kirillov, Alexander and Zagoruyko, Sergey},
  booktitle={European Conference on Computer Vision (ECCV)},
  year={2020}
}

Sources

1 source
Hugging FacePrimaryVersion e242bef4cd8edb2f97fef025acd2eb59854242eb
huggingface.co/lucid-dl/detr-resnet-50/tree/e242bef4cd8edb2f97fef025acd2eb59854242eb

Verified Oct 3

Model artifacts

1 artifact

COCO_2017/model.safetensors

safetensors · 159 MB · SHA-256 b4f246aeef2f…ec95 · Hugging Face

Download

Source excerpts

3 excerpts

--- library_name: lucid license: apache-2.0 tags: - object-detection - detr - lucid datasets: - coco pipeline_tag: object-detection model-index: - name: detr-resnet50 results: - task: { type: object-detection } dataset: { name: COCO, type: coco } metrics: - { type: box mAP, value: 42.0 } --- # DETR (ResNet-50) > Carion et al., 2020 — *End-to-End Object Detection with Transformers* (arXiv:2005.12872) [Lucid](https://github.com/ChanLumerico/lucid) port of `facebookresearch/detr/detr_resnet50`, converted to Lucid-native safetensors. ## Available weights | Tag | box mAP | Params | GFLOPs | Size | Source | |---|---|---|---|---|---| | `COCO_2017` *(default)* | 42.0 | 41.5M | — | 158.86 MB | facebookresearch | ## Usage ```python import lucid.models as models from lucid.models.weights import DETRResNet50Weights # default tag model = models.detr_resnet50(pretrained=True) # explicit tag (enum or string) model = models.detr_resnet50(weights=DETRResNet50Weights.COCO_2017) model = models.detr_resnet50(pretrained="COCO_2017") # preprocessing travels with the weights weights = DETRResNet50Weights.COCO_2017 preprocess = weights.transforms() out = model(preprocess(image)[None]) # ObjectDetectionOutput: per-query/proposal class logits + boxes logits, boxes = out.logits, out.pred_boxes ``` ## Conversion Converted from `facebookresearch/detr/detr_resnet50` via `python -m tools.convert_weights detr_resnet50 --tag COCO_2017`. Key mapping + numerical parity verified against the source. ## License `apache-2.0` — inherited from the original weights. ## Citation ``` @inproceedings{carion2020detr, title={End-to-End Object Detection with Transformers}, author={Carion, Nicolas and Massa, Francisco and Synnaeve, Gabriel and Usunier, Nicolas and Kirillov, Alexander and Zagoruyko, Sergey}, booktitle={European Conference on Computer Vision (ECCV)}, year={2020} } ```

Source context: 0 downloads · 0 likes · Pipeline object-detection · Library lucid · Repo lucid-dl/detr-resnet-50

Source context: 0 downloads · 0 likes · Pipeline object-detection · Library lucid · Repo lucid-dl/detr-resnet-50