Autodistill YOLO-NAS Module
This repository contains the code supporting the YOLO-NAS target model for use with Autodistill.
YOLO-NAS is an object detection model developed by Deci AI.
You can use autodistill to train a YOLO-NAS object detection model on a dataset of labelled images generated by the base models that autodistill supports.
Read the full Autodistill documentation.
Read the YOLO-NAS Autodistill documentation.
Installation
To use the YOLOv5 target model, you will need to install the following dependency:
pip3 install autodistill-yolo-nas
Quickstart
from autodistill_yolo_nas import YOLONAS
target_model = YOLONAS("YOLOv5n.pt")
# train a model
# specify the directory where your annotations (in YOLO format) are stored
target_model.train("./context_images_labeled", epochs=20)
# run inference on the new model
pred = target_model.predict("./context_images_labeled/train/images/dog-7.jpg", confidence=0.01)
License
The YOLO-NAS model is licensed under the YOLO-NAS 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-yolonas 0.1.1
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-yolonas-0.1.1.tar.gz | 5.1 kB | Without provenance | Details for autodistill-yolonas-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autodistill_yolonas-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for autodistill_yolonas-0.1.1-py3-none-any.whl |
Total release size: 10.6 kB
Release files / autodistill-yolonas-0.1.1.tar.gz
| Download URL | autodistill-yolonas-0.1.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dafe33d83e2ea42016deb0e7add7bb0d6882a820dfce21209ccf0510448a41f
|
|
BLAKE2b-256 checksum How to use checksums |
049176aa202475b36e3c142fa743d7ff9fc2a944a003bdac09d86485f9564076
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Release files / autodistill_yolonas-0.1.1-py3-none-any.whl
| Download URL | autodistill_yolonas-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22535f03df17a065ef5069029c28d4ef7330ad8dc68d6513da99dc6f01f82ebb
|
|
BLAKE2b-256 checksum How to use checksums |
24a27806099022dca3e833ba11ebd8f3c5050813b759b21d17e147290a07ea6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Security for autodistill-yolonas 0.1.1
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.