Skip to main content

AutoVision

Enterprise-grade visual model training framework: train → evaluate → export → deploy in one chain. Its flagship model family is GTR (MIT): one shared backbone covering detection, oriented detection, instance / semantic segmentation, depth and pose, with all 26 official weights registered and sha256-pinned. The Python API and autovision-cli share one strict Pydantic validation surface.

Distribution name: the PyPI package is autovision-framework, while the import package stays autovision and the CLI stays autovision-cli. An unrelated autovision 0.0.1 package exists on PyPI — make sure you install autovision-framework.

Links: Source repository · Documentation · Changelog

Installation

Python ≥ 3.10:

pip install autovision-framework

# GTR route: backbone + official weight download + ONNX export (CUDA required)
pip install "autovision-framework[gtr,download,export]"

# CPU-friendly detection route
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 and the GTR task matrix.

Quick start (GTR)

Download the official MIT weights, then run inference — no training:

python scripts/download_gtr_assets.py --task det   # or --all for all 26
import autovision

model = autovision.detection("detr/gtrvit-s", pretrained=True)  # COCO AP 53.6
result = model.predict("image.jpg")   # {'bboxes': ..., 'scores': ..., 'labels': ...}
model.export("model.onnx")            # ONNX export, parity gate on by default

Finetune from official weights (pose shown; five more tasks share the shape):

result = autovision.train_pose_estimation(
    out="runs/pose", data=data,       # COCO person_keypoints JSON + images
    model="gtr/s",
    model_args={"checkpoint": "gtrpose_s_coco"},   # omit for random init
)
print(result.best_exported_model_path, result.metrics)

Equivalent CLI (same Pydantic validation):

autovision-cli list-models --task detection --pretrained
autovision-cli train-pose-estimation out=runs/pose data=pose.yaml model=gtr/s \
    model_args='{"checkpoint": "gtrpose_s_coco"}'
autovision-cli predict model=runs/pose/exported_models/exported_best.pt images=dir/ out=preds/

CPU smoke path (no GPU): rtdetr/resnet18 on the bundled coco8 dataset via autovision.detection("rtdetr/resnet18").train(...).

Common extras

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

GTR exports ONNX / TensorRT / OpenVINO via the pure-ONNX GLA lowering (fixed-size graphs); the eager forward needs the gtr extra on CUDA.

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. GTR weights are MIT. Restricted-license weights (DINOv2 CC-BY-NC 4.0 / DINOv3 License) are not downloaded by default; user-held weights may not be redistributed.

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.6.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.6.1
File Size Uploaded Provenance Actions
autovision_framework-0.6.1.tar.gz 1.9 MB Without provenance Details for autovision_framework-0.6.1.tar.gz

Built distribution (wheel)

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

Total release size: 3.1 MB

Release files / autovision_framework-0.6.1.tar.gz

Download URL autovision_framework-0.6.1.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
6143be7e7398a08621e6495913acc7b560665559ffc9a02493ce6ee23ba8d6e7
BLAKE2b-256 checksum
How to use checksums
8f1fb7e63f68b9cf37a17afad440723661fa8fd31b7af36364f1bfe48bc75857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

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

Download URL autovision_framework-0.6.1-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
17e5b0be153a21e1ce53e2f89e2c73ff77658a84669b028d7fbda3a5ef8da3d6
BLAKE2b-256 checksum
How to use checksums
95d0f87cacd3c60601224b53c63776c00f6a51273aba3c2436e6bcbb822da788
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

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

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