Downloads · 30 days
0
Airin-chan/TinyDETR
TinyDETR is a machine learning model from Airin-chan. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-4.0.
Downloads · 30 days
0
Access
Public
Updated Jan 26, 2026
Repo size
58.1 MB
Likes
1
Public
Click a slice to open those files.
.gif52 MB · 89%
From the Hugging Face model README

Introduction TinyDETR for PeopleDetection what is TinyDETR ? inspired by original DETR TinyDETR present as small object detection transformers model but why we calling is as TinyDETR ? the model is very small with (6.mb) size even the float numeric is fp32. but how we can creating DETR with Tiny size without Quantile scale model ? in TinyDETR we create MobileNet Style as backbone, we make backbone supported MultiScale Object mechanism in here use ( p1,p2,p3). we not applying Encoder Transformers because have risk lossing MultiScale information form Backbone, so here we treat Backbone as Encoder to.

from TinyDETR import DETR
import torch
model = DETR()
checkpoint = torch.load("TinyDETR.pth")
model.load_state_dict(checkpoint)
with torch.no_grad():
x = model(image)
print(x['class_pred'])
print(x['bbox_pred'])