alt.freeweights.vision / detr-resnet-101-dc5
From: facebook <huggingface.co/facebook>Newsgroups: alt.freeweights.visionSubject:

detr-resnet-101-dc5

Date: 2026-11-15Commit: 96317caSigned: 2DC28CC7B26A283B ✓

Object detection model with 61M parameters. Safetensors weights, 486 MB in all. Published by facebook under Apache-2.0.

61M params486MBdetr-resnet-101-dc5safetensorspermissive
FactsParams61MSize486 MBFormatssafetensorsTaskobject detectionLicenseApache-2.0From sourcepermissive
$ fw get facebook/detr-resnet-101-dc5
# manifest sha256 d42a18718ec4… · 486 MB · 6 files
$ fw verify ./detr-resnet-101-dc5 facebook/detr-resnet-101-dc5
From sourceHosted (signed)facebook/detr-resnet-101-dc5Last check: 2026-11-15 03:24 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
486 MB
Weights
243 MB (safetensors)
Parameters
61M
Formats
safetensors
Task
object detection
License
Apache-2.0 (permissive)
Files
6, each with a sha256
Publisher
facebook
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:24 UTCpassed

Model card

From the publisher at commit 96317ca. Shown as plain text with links; images open at the publisher.

DETR (End-to-End Object Detection) model with ResNet-101 backbone (dilated C5 stage)#

DEtection TRansformer (DETR) model trained end-to-end on COCO 2017 object detection (118k annotated images). It was introduced in the paper End-to-End Object Detection with Transformers by Carion et al. and first released in this repository.

Disclaimer: The team releasing DETR did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description#

The DETR model is an encoder-decoder transformer with a convolutional backbone. Two heads are added on top of the decoder outputs in order to perform object detection: a linear layer for the class labels and a MLP (multi-layer perceptron) for the bounding boxes. The model uses so-called object queries to detect objects in an image. Each object query looks for a particular object in the image. For COCO, the number of object queries is set to 100.

The model is trained using a "bipartite matching loss": one compares the predicted classes + bounding boxes of each of the N = 100 object queries to the ground truth annotations, padded up to the same length N (so if an image only contains 4 objects, 96 annotations will just have a "no object" as class and "no bounding box" as bounding box). The Hungarian matching algorithm is used to create an optimal one-to-one mapping between each of the N queries and each of the N annotations. Next, standard cross-entropy (for the classes) and a linear combination of the L1 and generalized IoU loss (for the bounding boxes) are used to optimize the parameters of the model.

Intended uses & limitations#

You can use the raw model for object detection. See the model hub to look for all available DETR models.

How to use#

Here is how to use this model:

from transformers import DetrFeatureExtractor, DetrForObjectDetection
from PIL import Image
import requests

url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
image = Image.open(requests.get(url, stream=True).raw)

feature_extractor = DetrFeatureExtractor.from_pretrained('facebook/detr-resnet-101-dc5')
model = DetrForObjectDetection.from_pretrained('facebook/detr-resnet-101-dc5')

inputs = feature_extractor(images=image, return_tensors="pt")
outputs = model(**inputs)

# model predicts bounding boxes and corresponding COCO classes
logits = outputs.logits
bboxes = outputs.pred_boxes

Currently, both the feature extractor and model support PyTorch.

Training data#

The DETR model was trained on COCO 2017 object detection, a dataset consisting of 118k/5k annotated images for training/validation respectively.

Training procedure#

Preprocessing#

The exact details of preprocessing of images during training/validation can be found here.

Images are resized/rescaled such that the shortest side is at least 800 pixels and the largest side at most 1333 pixels, and normalized across the RGB channels with the ImageNet mean (0.485, 0.456, 0.406) and standard deviation (0.229, 0.224, 0.225).

Training#

The model was trained for 300 epochs on 16 V100 GPUs. This takes 3 days, with 4 images per GPU (hence a total batch size of 64).

Evaluation results#

This model achieves an AP (average precision) of 44.9 on COCO 2017 validation. For more details regarding evaluation results, we refer to table 1 of the original paper.

BibTeX entry and citation info#
@article{DBLP:journals/corr/abs-2005-12872,
  author    = {Nicolas Carion and
               Francisco Massa and
               Gabriel Synnaeve and
               Nicolas Usunier and
               Alexander Kirillov and
               Sergey Zagoruyko},
  title     = {End-to-End Object Detection with Transformers},
  journal   = {CoRR},
  volume    = {abs/2005.12872},
  year      = {2020},
  url       = {https://arxiv.org/abs/2005.12872},
  archivePrefix = {arXiv},
  eprint    = {2005.12872},
  timestamp = {Thu, 28 May 2020 17:38:09 +0200},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2005-12872.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Files

6 files · 486 MBWeights 243 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 6 files with their sha256
FileSizesha256
.gitattributes744 Bf888dc7c230287cd68af7034aa9fc2e2d6663fb7b3e70faa153caf93877914c3
README.md4.81 KB3f4b93b629735c7f6f60d6e1f5e0265dd7d2c49bd46cea6faa1de1d638ec0003
config.json4.38 KB20d3f8caf1e1e37346860ba56fd4e189df7f0fba0a9832b2557d96ffca9f7df2
model.safetensors243 MB707de69ca32dee6b518798a866219809eb3e76c190f70acda1c1f67c9f7de6c7
preprocessor_config.json274 B84084dff7cb5f0ab9394adc87f34d813a4e0c3d7ad56aa7d73d775174ffaca3f
pytorch_model.bin243 MB7bd3d719aaea1dc63844e7ced0c820fa5e4cc7b041beea54f18559a88717f287
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
96317ca979 pinned now2026-11-15 03:24 UTC6 files · 486 MB

Use it

$ fw get facebook/detr-resnet-101-dc5
# manifest sha256 d42a18718ec4… · 486 MB · 6 files
$ fw verify ./detr-resnet-101-dc5 facebook/detr-resnet-101-dc5
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/facebook/detr-resnet-101-dc5.json --dir ./detr-resnet-101-dc5 $ python3 fw.py verify ./detr-resnet-101-dc5 ./facebook__detr-resnet-101-dc5.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download facebook/detr-resnet-101-dc5 --revision 96317ca979e231bd960cb3cac31328e0165a3e94 --local-dir ./detr-resnet-101-dc5

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
3f4b93b629735c7f6f60d6e1f5e0265dd7d2c49bd46cea6faa1de1d638ec0003
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: facebook <huggingface.co/facebook>Newsgroups: alt.freeweights.visionSubject: detr-resnet-101-dc5Date: 2026-11-15Commit: 96317caSigned: 2DC28CC7B26A283B ✓
Upstream
facebook/detr-resnet-101-dc5
Pinned commit
96317ca979e231bd960cb3cac31328e0165a3e94
Manifest
detr-resnet-101-dc5.json · .minisig
Manifest sha256
d42a18718ec4e95cc7435c653ff2e7a55326d5fb8dd73a98d05431fcb977cef6
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:24 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/facebook/detr-resnet-101-dc5.json $ curl -O https://freeweights.allternit.com/manifests/facebook/detr-resnet-101-dc5.json.minisig $ minisign -Vm detr-resnet-101-dc5.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download facebook/detr-resnet-101-dc5
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. detr-resnet-101-dc5.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX