Skip to main content

AutoVision

Enterprise-grade visual model training framework: self-supervised pretrain / distill → finetune → evaluate → export in one chain. Covers detection, rotated boxes, instance / panoptic / semantic segmentation, pose, depth, and classification; the Python API and autovision-cli share the same strict Pydantic validation.

Distribution name: the PyPI package is autovision-framework, while the import package stays autovision and the CLI stays autovision-cli. This project is unrelated to the unrelated autovision 0.0.1 package on PyPI; make sure you install autovision-framework.

Links: Source repository · Documentation · Changelog

Installation

Python ≥ 3.10:

pip install autovision-framework

# Common extras: HF backbones + timm + ONNX export
pip install "autovision-framework[transformers,timm,export]"

# Pretrained RF-DETR direct inference
pip install "autovision-framework[rfdetr,export]"

Model packages load lazily per extra; a missing extra yields an empty registry listing instead of an error. See the repository README for the full extras table.

Quick start

No training — load released weights and predict:

import autovision

model = autovision.detection("rfdetr/rf-detr-small", pretrained=True)
result = model.predict("image.jpg")   # {'bboxes': ..., 'scores': ..., 'labels': ...}
model.export("model.onnx")            # parity gate + postprocess spec

Object detection, train → validate → predict → export:

import autovision

data = autovision.ensure_coco8()   # synthetic smoke dataset; swap in COCO/YOLO configs
model = autovision.detection("rtdetr/resnet18").train(
    out="runs/det1", data=data, steps=2000, batch_size="auto",
)
model.val(data=data)          # {'map': ..., 'map_50': ...}
model.predict("image.jpg")    # {'bboxes': ..., 'scores': ..., 'labels': ...}
model.export("model.onnx")    # dispatches by .onnx / .engine / .pt suffix

Equivalent CLI (same Pydantic validation):

autovision-cli train-object-detection out=runs/det1 data=data.yaml steps=2000
autovision-cli val     model=runs/det1/exported_models/exported_best.pt data=coco8
autovision-cli predict model=runs/det1/exported_models/exported_best.pt images=dir/ out=preds/ threshold=0.5

Common extras

extra capability
transformers DINOv2 / DINOv3 backbones (HuggingFace weights)
timm full timm backbone zoo (arbitrary input channels)
export ONNX export + numerical parity gate
openvino OpenVINO IR export and runtime
video video / RTSP reference inference runtime
serving FastAPI reference serving (/predict, /metrics)
gtr GTR GLA backbone (Triton, CUDA required)
download on-demand GTR upstream weight download (huggingface_hub)
dev pytest / ruff (same as CI)

License

Apache-2.0 (AutoVision original code; full text: https://www.apache.org/licenses/LICENSE-2.0). Third-party component and weight provenance ship in NOTICE and THIRD_PARTY_LICENSES.md. Restricted-license weights (DINOv2 CC-BY-NC 4.0 / DINOv3 License) are not downloaded by default; user-held weights may not be redistributed.

0.3.0 licensing status: the DEIMv2-derived SpatialPriorModule was removed; DINOv3 ViT variants are kept with the no-STA adapter, and the release no longer contains DEIMv2 code. Legacy backbone.sta.* ViT checkpoints are unsupported and must be retrained/re-exported. See docs/provenance/LEDGER.md for details.

Full documentation (model zoo, benchmarks, export details, known limits) is available on the documentation site and in the docs/ directory of the source repository.

Metadata

Release files for autovision-framework 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autovision-framework 0.3.1
File Size Uploaded Provenance Actions
autovision_framework-0.3.1.tar.gz 1.5 MB With provenance Details for autovision_framework-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autovision-framework 0.3.1
File Interpreter ABI Platform Actions
autovision_framework-0.3.1-py3-none-any.whl Python 3 none any Details for autovision_framework-0.3.1-py3-none-any.whl

Total release size: 2.6 MB

Release files / autovision_framework-0.3.1.tar.gz

Download URL autovision_framework-0.3.1.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
deaed7b86340eb4ab394791f65c30b91bfb4ae01ddaafd2cdb7d59bc82fde253
BLAKE2b-256 checksum
How to use checksums
fbbaf018cbb009fd3111162f51f886aa2079e1195dfb21ef89d8aaf5755d5b70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / autovision_framework-0.3.1-py3-none-any.whl

Download URL autovision_framework-0.3.1-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e81081487a038ff90c856b8c00e030234d1ae4ef905865c4d41202269a8d9e71
BLAKE2b-256 checksum
How to use checksums
29e591081464673e25fa743ed69c2b1cf7e181f4eebe29e6082fbb52070d5abf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Security for autovision-framework 0.3.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for autovision_framework-0.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page