---
title: RT-DETR
emoji: 🎷
colorFrom: pink
colorTo: yellow
sdk: gradio
sdk_version: 5.6.0
python_version: 3.11.10
app_file: app.py
pinned: false
license: mit
---
## RT-DETR Demo
ONNX exported from official pretrained models on COCO + Objects365
| Model | Dataset | Input Size | APval | AP50val | #Params(M) | FPS | checkpoint |
| :-----------: | :-------------: | :--------: | :--------------: | :---------------------------: | :--------: | :-: | :-----------------------------------------------------------------------------------------------------------------------------: |
| rtdetr_18vd | COCO+Objects365 | 640 | 49.0 | 66.5 | 20 | 217 | [url\*](https://github.com/lyuwenyu/storage/releases/download/v0.1/rtdetr_r18vd_5x_coco_objects365_from_paddle.pth) |
| rtdetr_r50vd | COCO+Objects365 | 640 | 55.2 | 73.4 | 42 | 108 | [url\*](https://github.com/lyuwenyu/storage/releases/download/v0.1/rtdetr_r50vd_2x_coco_objects365_from_paddle.pth) |
| rtdetr_r101vd | COCO+Objects365 | 640 | 56.2 | 74.5 | 76 | 74 | [url\*](https://github.com/lyuwenyu/storage/releases/download/v0.1/rtdetr_r101vd_2x_coco_objects365_from_paddle.pth) |
### Run locally
Install dependencies
```sh
poetry install
```
Run server
```sh
poetry run gradio app.py
```