Autodistill YOLOv5 Module
This repository contains the code supporting the YOLOv5 target model for use with Autodistill.
YOLOv5 is an open-source computer vision model by Ultralytics, the creators of YOLOv5. You can use autodistill to train a YOLOv5 object detection model on a dataset of labelled images generated by the base models that autodistill supports.
View our YOLOv5 Instance Segmentation page for information on how to train instance segmentation models.
Read the full Autodistill documentation.
Read the YOLOv5 Autodistill documentation.
Installation
To use the YOLOv5 target model, you will need to install the following dependency:
pip3 install autodistill-yolov5
Quickstart
from autodistill_YOLOv5 import YOLOv5
target_model = YOLOv5("YOLOv5n.pt")
# train a model
target_model.train("./context_images_labeled/data.yaml", epochs=200)
# run inference on the new model
pred = target_model.predict("./context_images_labeled/train/images/dog-7.jpg", conf=0.01)
License
The code in this repository is licensed under an AGPL 3.0 license.
🏆 Contributing
We love your input! Please see the core Autodistill contributing guide to get started. Thank you 🙏 to all our contributors!
Metadata
Release files for autodistill-yolov5 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autodistill-yolov5-0.1.2.tar.gz | 14.9 kB | Without provenance | Details for autodistill-yolov5-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autodistill_yolov5-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for autodistill_yolov5-0.1.2-py3-none-any.whl |
Total release size: 30.3 kB
Release files / autodistill-yolov5-0.1.2.tar.gz
| Download URL | autodistill-yolov5-0.1.2.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2d62ce80225456a62c15c87863c70bb394f7b9fa16d3693c21f4609534be0b7
|
|
BLAKE2b-256 checksum How to use checksums |
0a8e87293c5eb4b71a4c1026f1db5e404867b147cc5c1de7bcabeb1dd093c63b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Release files / autodistill_yolov5-0.1.2-py3-none-any.whl
| Download URL | autodistill_yolov5-0.1.2-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6cbd2ce26aeef3642e7619ccf03174c7ac782c49aa60e1060d64b7f7b2219ce
|
|
BLAKE2b-256 checksum How to use checksums |
7095686accf72e93c0b0af376824ecf818fc97d77d3934830f1458e034c0386e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Security for autodistill-yolov5 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.