SAVRN
Search Contact SAVRN

Open-weight model · Object detection

rt-detr-finetuned-for-satellite-image-roofs-detection

by YifengLiu Yifeng-Liu/rt-detr-finetuned-for-satellite-image-roofs-detection

Roof detection model for remote sensing imagery, fine-tuned using RT-DETR. The following example shows roof detections produced by the model: Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.

Parameters77M
Context
Weights306.7 MB
Licensemit
AccessOpen weights
Monthly Downloads5.1k

Runs On

What it takes to serve rt-detr-finetuned-for-satellite-image-roofs-detection (77M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.2 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By YifengLiu, published under mit, revision 02460f227539.

Roof detection model for remote sensing imagery, fine-tuned using RT-DETR. The following example shows roof detections produced by the model: Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model.

Read YifengLiu's full model card

Model Card

Roof detection model for remote sensing imagery, fine-tuned using RT-DETR.

Example Prediction

The following example shows roof detections produced by the model:

Model Details

Model Description

  • Model type: Object Detection for Remote Sensing task.
  • License: MIT

Model Sources

Try it

Limitations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.

How to Get Started with the Model

Use the code below to get started with the model.

from transformers import AutoModelForObjectDetection, AutoImageProcessor
import torch
import cv2

image_path=YOUR_IMAGE_PATH
image = cv2.imread(image_path)

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

model = AutoModelForObjectDetection.from_pretrained("Yifeng-Liu/rt-detr-finetuned-for-satellite-image-roofs-detection")
image_processor = AutoImageProcessor.from_pretrained("Yifeng-Liu/rt-detr-finetuned-for-satellite-image-roofs-detection")


CONFIDENCE_TRESHOLD = 0.5

with torch.no_grad():
    model.to(device)

    # load image and predict
    inputs = image_processor(images=image, return_tensors='pt').to(device)
    outputs = model(**inputs)

    # post-process
    target_sizes = torch.tensor([image.shape[:2]]).to(device)
    results = image_processor.post_process_object_detection(
        outputs=outputs,
        threshold=CONFIDENCE_TRESHOLD,
        target_sizes=target_sizes
    )[0]

Configuration

Architecture
RTDetrForObjectDetection
Stored precision
float32
Model type
rt_detr

Identity and Version

Repository
Yifeng-Liu/rt-detr-finetuned-for-satellite-image-roofs-detection
Publisher
YifengLiu
Task
Object detection
Modality
Image
Library
transformers
Parameters
77M parameters
Languages
Not stated by the source
Revision
02460f22753964df59938b5dff5176790403658f
First published
2024-09-03
Last updated
2026-09-02

Files and Weights

6 files, 307.3 MB in total. The weights are 1 file totalling 306.7 MB in safetensors.

Weights1 file · 306.7 MB
Configuration2 files · 2.6 KB
Documentation1 file · 4.2 KB
Other1 file · 570.7 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights306.7 MB 548f16553b1e
config.jsonConfiguration2.1 KB
preprocessor_config.jsonConfiguration444 B
README.mdDocumentation4.2 KB
img.pngOther570.7 KB
.gitattributesRepository1.5 KB

License and Download

License
mit
Access
Open weights, no gate
Download size
306.7 MB
Download from YifengLiu

Released by YifengLiu through its official repository on Hugging Face. Read the license.

Built From

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
keremberke/satellite-building-segmentation Task object-detectionMetric AP @ IoU=0.50 | area=all | maxDets=100Comparison conditions not established 0.652 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AP @ IoU=0.50:0.95 | area=all | maxDets=100Comparison conditions not established 0.434 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AP @ IoU=0.50:0.95 | area=large | maxDets=100Comparison conditions not established 0.632 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AP @ IoU=0.50:0.95 | area=medium | maxDets=100Comparison conditions not established 0.51 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AP @ IoU=0.50:0.95 | area=small | maxDets=100Comparison conditions not established 0.248 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AP @ IoU=0.75 | area=all | maxDets=100Comparison conditions not established 0.464 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AR @ IoU=0.50:0.95 | area=all | maxDets=1Comparison conditions not established 0.056 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AR @ IoU=0.50:0.95 | area=all | maxDets=10Comparison conditions not established 0.328 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AR @ IoU=0.50:0.95 | area=all | maxDets=100Comparison conditions not established 0.519 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AR @ IoU=0.50:0.95 | area=large | maxDets=100Comparison conditions not established 0.714 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AR @ IoU=0.50:0.95 | area=medium | maxDets=100Comparison conditions not established 0.601 Yifeng-Liu
Publisher reported
Evaluated revision not stated
keremberke/satellite-building-segmentation Task object-detectionMetric AR @ IoU=0.50:0.95 | area=small | maxDets=100Comparison conditions not established 0.337 Yifeng-Liu
Publisher reported
Evaluated revision not stated

Memory Requirements

PrecisionWeights in memory
As published306.7 MB
16-bit0.2 GB
8-bit0.1 GB
4-bit0.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About rt-detr-finetuned-for-satellite-image-roofs-detection

How much GPU memory does rt-detr-finetuned-for-satellite-image-roofs-detection need?

About 0.2 GB at 16-bit and 0 GB at 4-bit: the weights (77M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run rt-detr-finetuned-for-satellite-image-roofs-detection on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use rt-detr-finetuned-for-satellite-image-roofs-detection commercially?

Yes. rt-detr-finetuned-for-satellite-image-roofs-detection is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

Similar Models

Model · Object detection

rtdetr_r101vd_coco_o365

Peking University

However, we observe that the speed and accuracy of YOLOs are negatively affected by the NMS. Recently, end-to-end Transformer-based detectors (DETRs) have provided an alternative to eliminating NMS. Nevertheless, the high computational cost limits their practicality and hinders them from fully exploiting the advantage of excluding NMS. In this paper, we propose the Real-Time DEtection TRansformer (RT-DETR), the first real-time end-to-end object detector to our best knowledge that addresses the above dilemma. We build RT-DETR in two steps, drawing on the advanced DETR: first we focus on maintaining accuracy while improving speed, followed by maintaining speed while improving accuracy.…

Open weights apache-2.0 77M parameters transformers

Model · Object detection

rtdetr_v2_r101vd

Peking University

The RT-DETRv2 model was proposed in RT-DETRv2: Improved Baseline with Bag-of-Freebies for Real-Time Detection Transformer by Wenyu Lv, Yian Zhao, Qinyao Chang, Kui Huang, Guanzhong Wang, Yi Liu. RT-DETRv2 refines RT-DETR by introducing selective multi-scale feature extraction, a discrete sampling operator for broader deployment compatibility, and improved training strategies like dynamic data augmentation and scale-adaptive hyperparameters. These changes enhance flexibility and practicality while maintaining real-time performance. This model was contributed by @jadechoghari with the help of @cyrilvallez and @qubvel-hf This is RT-DETRv2 consistently outperforms its predecessor across all…

Open weights apache-2.0 77M parameters transformers

Model · Object detection

YOLO-Face-Person-Detector

Irina Tolstykh

This model is a fine-tuned version of YOLOv8x specialized in detecting two specific classes: Face and Person. It has been trained on a large-scale proprietary dataset consisting of approximately 150,000 images. The high capacity of the YOLOv8x architecture combined with a diverse proprietary dataset ensures high accuracy and robustness in various scenarios. You can load the model using the Hugging Face transformers library by enabling custom code execution. If you prefer the standard Ultralytics API, you can download the weights from the Hub and load them directly. This method automatically handles model downloading for ultralytics YOLO model. This model is based on the Ultralytics YOLOv8…

Open weights agpl-3.0 68M parameters ultralytics

The D-FINE model was proposed in D-FINE: Redefine Regression Task in DETRs as Fine-grained Distribution Refinement by Yansong Peng, Hebei Li, Peixi Wu, Yueyi Zhang, Xiaoyan Sun, Feng Wu This model was contributed by VladOS95-cyber with the help of @qubvel-hf This is the HF transformers implementation for D-FINE coco -> model trained on COCO obj365 -> model trained on Object365 obj2coco -> model trained on Object365 and then finetuned on COCO D-FINE, a powerful real-time object detector that achieves outstanding localization precision by redefining the bounding box regression task in DETR models. D-FINE comprises two key components: Fine-grained Distribution Refinement (FDR) and Global…

Open weights apache-2.0 63M parameters transformers

The D-FINE model was proposed in D-FINE: Redefine Regression Task in DETRs as Fine-grained Distribution Refinement by Yansong Peng, Hebei Li, Peixi Wu, Yueyi Zhang, Xiaoyan Sun, Feng Wu This model was contributed by VladOS95-cyber with the help of @qubvel-hf This is the HF transformers implementation for D-FINE coco -> model trained on COCO obj365 -> model trained on Object365 obj2coco -> model trained on Object365 and then finetuned on COCO D-FINE, a powerful real-time object detector that achieves outstanding localization precision by redefining the bounding box regression task in DETR models. D-FINE comprises two key components: Fine-grained Distribution Refinement (FDR) and Global…

Open weights apache-2.0 63M parameters transformers

Model · Object detection

detr-resnet-101

AI at Meta

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. 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…

Open weights apache-2.0 61M parameters 1,024 tokens transformers