<div align="center">
<p>
<a align="center" href="" target="_blank">
<img
width="850"
src="https://media.roboflow.com/open-source/autodistill/autodistill-banner.png?3"
>
</a>
</p>
</div>
# Autodistill DETR Module
This repository contains the code supporting the DETR base model for use with [Autodistill](https://github.com/autodistill/autodistill).
[DETR](https://huggingface.co/docs/transformers/model_doc/detr) is a transformer-based computer vision model you can use for object detection. Autodistill supports training a model using the Meta Research Resnet 50 checkpoint.
Read the full [Autodistill documentation](https://autodistill.github.io/autodistill/).
Read the [DETR Autodistill documentation](https://autodistill.github.io/autodistill/target_models/detr/).
## Installation
To use DETR with autodistill, you need to install the following dependency:
```bash
pip3 install autodistill-detr
```
## Quickstart
```python
from autodistill_detr import DETR
# load the model
target_model = DETR()
# train for 10 epochs
target_model.train("./roads", epochs=10)
# run inference on an image
target_model.predict("./roads/valid/-3-_jpg.rf.bee113a09b22282980c289842aedfc4a.jpg")
```
## License
This project is licensed under an [Apache 2.0 license](LICENSE). See the [Hugging Face model card for the DETR Resnet 50](https://huggingface.co/facebook/detr-resnet-50) model for more information on the model license.
## ð Contributing
We love your input! Please see the core Autodistill [contributing guide](https://github.com/autodistill/autodistill/blob/main/CONTRIBUTING.md) to get started. Thank you ð to all our contributors!
没有合适的资源?快使用搜索试试~ 我知道了~
autodistill-detr-0.1.1.tar.gz
需积分: 1 0 下载量 179 浏览量
2024-09-27
22:46:08
上传
评论
收藏 8KB GZ 举报
温馨提示
autodistill-detr-0.1.1.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
autodistill-detr-0.1.1.tar.gz (15个子文件)
autodistill-detr-0.1.1
setup.py 1KB
src
__init__.py 22B
hello.py 39B
LICENSE 9KB
PKG-INFO 3KB
autodistill_detr.egg-info
SOURCES.txt 333B
top_level.txt 21B
PKG-INFO 3KB
requires.txt 151B
dependency_links.txt 1B
test
test_hello.py 91B
setup.cfg 38B
README.md 2KB
autodistill_detr
__init__.py 68B
detr_model.py 7KB
共 15 条
- 1
资源评论
.whl
- 粉丝: 3800
- 资源: 4617
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功