Are you sure you want to delete this access key?
comments | description | keywords |
---|---|---|
true | ๋น๋๊ธฐ(Baidu)๊ฐ ๊ฐ๋ฐํ RT-DETR์ ๋น์ ํธ๋์คํฌ๋จธ(Vision Transformers)๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ํ ์ค์๊ฐ ๊ฐ์ฒด ๊ฒ์ถ๊ธฐ๋ก, ์ฌ์ ํ๋ จ๋ ๋ชจ๋ธ์ ์ฌ์ฉํ์ฌ ์๊ฐ์ง์ฐ์ด ์๋ ๊ณ ์ฑ๋ฅ์ ์ ๊ณตํฉ๋๋ค. | RT-DETR, ๋น๋๊ธฐ, ๋น์ ํธ๋์คํฌ๋จธ, ๊ฐ์ฒด ๊ฒ์ถ, ์ค์๊ฐ ์ฑ๋ฅ, CUDA, TensorRT, IoU-aware query selection, Ultralytics, ํ์ด์ฌ API, PaddlePaddle |
๋น๋๊ธฐ(Baidu)๊ฐ ๊ฐ๋ฐํ Real-Time Detection Transformer(RT-DETR)์ ๊ณ ์ ๋ฐ๋๋ฅผ ์ ์งํ๋ฉด์ ์ค์๊ฐ ์ฑ๋ฅ์ ์ ๊ณตํ๋ ์ฒจ๋จ ์๋ ํฌ ์๋ ๊ฐ์ฒด ๊ฒ์ถ๊ธฐ์ ๋๋ค. ๋น์ ํธ๋์คํฌ๋จธ(Vision Transformers, ViT)์ ์ฑ๋ฅ์ ํ์ฉํ์ฌ, ๋ค์ค ์ค์ผ์ผ ํน์ง์ ํจ์จ์ ์ผ๋ก ์ฒ๋ฆฌํ ์ ์๋๋ก ์ธํธ๋ผ ์ค์ผ์ผ ์ํธ ์์ฉ๊ณผ ํฌ๋ก์ค ์ค์ผ์ผ ํจ์ ์ ๋ถ๋ฆฌํฉ๋๋ค. RT-DETR์ ๋ค์ํ ๋์ฝ๋ ๋ ์ด์ด๋ฅผ ์ฌ์ฉํ์ฌ ์ถ๋ก ์๋๋ฅผ ์ ์ฐํ๊ฒ ์กฐ์ ํ ์ ์์ผ๋ฏ๋ก ์ฌํ๋ จ ์์ด ์ค์๊ฐ ๊ฐ์ฒด ๊ฒ์ถ์ ์ ์ฉํ๊ธฐ์ ๋งค์ฐ ์ ํฉํฉ๋๋ค. ์ด ๋ชจ๋ธ์ CUDA์ TensorRT์ ๊ฐ์ ๊ฐ์ํ๋ ๋ฐฑ์๋์์ ๋ง์ ๋ค๋ฅธ ์ค์๊ฐ ๊ฐ์ฒด ๊ฒ์ถ๊ธฐ๋ณด๋ค ๋ฐ์ด๋ ์ฑ๋ฅ์ ๋ฐํํฉ๋๋ค.
๋น๋๊ธฐ์ RT-DETR ๊ฐ์ ๋น๋๊ธฐ์ RT-DETR ๋ชจ๋ธ ๊ตฌ์กฐ ๋ค์ด์ด๊ทธ๋จ์ ๋ฐฑ๋ณธ ๋คํธ์ํฌ์ ๋ง์ง๋ง ์ธ ๋จ๊ณ {S3, S4, S5}๋ฅผ ์ธ์ฝ๋์ ์
๋ ฅ์ผ๋ก ๋ณด์ฌ์ค๋๋ค. ํจ์จ์ ์ธ ํ์ด๋ธ๋ฆฌ๋ ์ธ์ฝ๋๋ ์ธํธ๋ผ์ค์ผ์ผ ํน์ง ์ํธ ์์ฉ(AIFI, intrascale feature interaction)๊ณผ ํฌ๋ก์ค ์ค์ผ์ผ ํน์ง ํจ์ ๋ชจ๋(CCFM, cross-scale feature-fusion module)์ ํตํด ๋ค์ค ์ค์ผ์ผ ํน์ง์ ์ด๋ฏธ์ง ํน์ง์ ์ํ์ค๋ก ๋ณํํฉ๋๋ค. IoU-aware query selection์ ๋์ฝ๋์ ๋ํ ์ด๊ธฐ ๊ฐ์ฒด ์ฟผ๋ฆฌ๋ก ์๋ํ๊ธฐ ์ํด ์ผ์ ํ ์์ ์ด๋ฏธ์ง ํน์ง์ ์ ํํ๋ ๋ฐ ์ฌ์ฉ๋ฉ๋๋ค. ๋ง์ง๋ง์ผ๋ก, ๋ณด์กฐ ์์ธก ํค๋์ ํจ๊ป ๋์ฝ๋๋ ๊ฐ์ฒด ์ฟผ๋ฆฌ๋ฅผ ๋ฐ๋ณตํ์ฌ ๋ฐ์ค์ ์ ๋ขฐ๋ ์ ์๋ฅผ ์ต์ ํํฉ๋๋ค. (์๋ฌธ ์ฐธ์กฐ).
Ultralytics์ ํ์ด์ฌ API๋ ๋ค์ํ ์ค์ผ์ผ์ ์ฌ์ ํ๋ จ๋ PaddlePaddle RT-DETR ๋ชจ๋ธ์ ์ ๊ณตํฉ๋๋ค:
์ด ์์๋ ๊ฐ๋จํ RT-DETRR ํ๋ จ ๋ฐ ์ถ๋ก ์์๋ฅผ ์ ๊ณตํฉ๋๋ค. Predict, Train, Val, Export ๋ฑ์ ์์ธํ ๋ฌธ์๋ Predict, Train, Val, Export ๋ฌธ์ ํ์ด์ง๋ฅผ ์ฐธ์กฐํ์ญ์์ค.
!!! ์์
=== "ํ์ด์ฌ"
```python
from ultralytics import RTDETR
# COCO ์ฌ์ ํ๋ จ๋ RT-DETR-l ๋ชจ๋ธ ๋ก๋
model = RTDETR('rtdetr-l.pt')
# ๋ชจ๋ธ ์ ๋ณด ํ์ (์ ํ ์ฌํญ)
model.info()
# COCO8 ์์ ๋ฐ์ดํฐ์
์ ๋ํด 100 epoch ๋์ ๋ชจ๋ธ ํ๋ จ
results = model.train(data='coco8.yaml', epochs=100, imgsz=640)
# 'bus.jpg' ์ด๋ฏธ์ง์์ RT-DETR-l ๋ชจ๋ธ๋ก ์ถ๋ก ์คํ
results = model('path/to/bus.jpg')
```
=== "CLI"
```bash
# COCO ์ฌ์ ํ๋ จ๋ RT-DETR-l ๋ชจ๋ธ ๋ก๋ํ๊ณ COCO8 ์์ ๋ฐ์ดํฐ์
์ ๋ํด 100 epoch ๋์ ํ๋ จ
yolo train model=rtdetr-l.pt data=coco8.yaml epochs=100 imgsz=640
# COCO ์ฌ์ ํ๋ จ๋ RT-DETR-l ๋ชจ๋ธ ๋ก๋ํ๊ณ 'bus.jpg' ์ด๋ฏธ์ง์์ ์ถ๋ก ์คํ
yolo predict model=rtdetr-l.pt source=path/to/bus.jpg
```
์ด ํ ์ด๋ธ์ ๊ฐ ๋ชจ๋ธ์ ์ ํ, ํน์ ์ฌ์ ํ๋ จ ๊ฐ์ค์น, ๊ฐ ๋ชจ๋ธ์ด ์ง์ํ๋ ์์ ๋ฐ ๋ชจ๋, Val, Predict, Export์ ๊ฐ์ ๋ค์ํ ๋ชจ๋๋ฅผ ๋ํ๋ด๋ โ ์ด๋ชจ์ง๋ก ํ์๋ ๋ชจ๋๋ฅผ ์ง์ํฉ๋๋ค.
๋ชจ๋ธ ์ ํ | ์ฌ์ ํ๋ จ ๊ฐ์ค์น | ์ง์๋๋ ์์ | ์ถ๋ก | ๊ฒ์ฆ | ํ๋ จ | ์ถ๋ ฅ |
---|---|---|---|---|---|---|
RT-DETR Large | rtdetr-l.pt |
๊ฐ์ฒด ๊ฒ์ถ | โ | โ | โ | โ |
RT-DETR Extra-Large | rtdetr-x.pt |
๊ฐ์ฒด ๊ฒ์ถ | โ | โ | โ | โ |
๋ง์ฝ ์ฐ๊ตฌ๋ ๊ฐ๋ฐ ์์ ์์ ๋น๋๊ธฐ(Baidu)์ RT-DETR์ ์ฌ์ฉํ๋ค๋ฉด, ์๋ ๋ ผ๋ฌธ์ ์ธ์ฉํด์ฃผ์๊ธฐ ๋ฐ๋๋๋ค:
!!! Quote ""
=== "BibTeX"
```bibtex
@misc{lv2023detrs,
title={DETRs Beat YOLOs on Real-time Object Detection},
author={Wenyu Lv and Shangliang Xu and Yian Zhao and Guanzhong Wang and Jinman Wei and Cheng Cui and Yuning Du and Qingqing Dang and Yi Liu},
year={2023},
eprint={2304.08069},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
```
์ปดํจํฐ ๋น์ ์ปค๋ฎค๋ํฐ์๊ฒ ๊ท์คํ ์๋ฃ์ธ ๋น์ ํธ๋์คํฌ๋จธ ๊ธฐ๋ฐ ์ค์๊ฐ ๊ฐ์ฒด ๊ฒ์ถ๊ธฐ์ธ ๋น๋๊ธฐ(Baidu)์ RT-DETR์ ๋ง๋ค๊ณ ์ ์งํ๊ธฐ ์ํด ๋น๋๊ธฐ์ PaddlePaddle ํ์๊ฒ ๊ฐ์ฌ์ ์ธ์ฌ๋ฅผ ์ ํฉ๋๋ค.
Keywords: RT-DETR, Transformer, ViT, ๋น์ ํธ๋์คํฌ๋จธ, ๋น๋๊ธฐ RT-DETR, PaddlePaddle, Paddle Paddle RT-DETR, ์ค์๊ฐ ๊ฐ์ฒด ๊ฒ์ถ, ๋น์ ํธ๋์คํฌ๋จธ ๊ธฐ๋ฐ ๊ฐ์ฒด ๊ฒ์ถ, ์ฌ์ ํ๋ จ๋ PaddlePaddle RT-DETR ๋ชจ๋ธ, ๋น๋๊ธฐ RT-DETR ์ฌ์ฉ๋ฒ, Ultralytics ํ์ด์ฌ API
Press p or to see the previous file or, n or to see the next file
Browsing data directories saved to S3 is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
ultralytics is now integrated with AWS S3!
Are you sure you want to delete this access key?
Browsing data directories saved to Google Cloud Storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
ultralytics is now integrated with Google Cloud Storage!
Are you sure you want to delete this access key?
Browsing data directories saved to Azure Cloud Storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
ultralytics is now integrated with Azure Cloud Storage!
Are you sure you want to delete this access key?
Browsing data directories saved to S3 compatible storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
ultralytics is now integrated with your S3 compatible storage!
Are you sure you want to delete this access key?