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.5.0

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.5.0
File Size Uploaded Provenance Actions
autovision_framework-0.5.0.tar.gz 1.7 MB Without provenance Details for autovision_framework-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 2.9 MB

Release files / autovision_framework-0.5.0.tar.gz

Download URL autovision_framework-0.5.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
e3354d3938b65b8e7a354edba8790b4d9acd9536d40e2d75b0edf01d3e2ac599
BLAKE2b-256 checksum
How to use checksums
220e3e3f45e83bea48a68180da660f6a964cb48bcb03115f0099fcc93228fad5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

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

Download URL autovision_framework-0.5.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f3c96f8eeb12cc2a814fe22fd4b10bb67bdb76247515ef5355fbdea7b32e540b
BLAKE2b-256 checksum
How to use checksums
b847732bdf4bfc705e7de0aa4a668cf307a61166364dbea791b258a5449eea61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for autovision-framework 0.5.0

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