Skip to main content

CVMD

CVMD Hero

中文文档

One unified inference interface for deployment-ready vision models.

Why CVMD

Use one consistent inference interface across multiple vision model families, without dragging training code into deployment.

  • One API for multiple model families: run YOLO and DETR-style models with the same model(image) workflow.
  • TorchScript-first deployment: load export-ready weights directly and keep inference environments lean.
  • Easy to adopt, easy to scale: start from simple single-image inference, then extend to sliding-window or Ray-based distributed pipelines.

Installation

pip install cvmd

Quick Start

import imageio.v3 as iio
from cvmd import build

model = build("yolov11det", weights="yolo11l.torchscript", device="cuda")
model.load_model()

image = iio.imread("image.jpg")
results = model(image)
# results: [x1, y1, x2, y2, confidence, class]

Supported Models

Model Series Task Registered Names
YOLOv12 Detection / Segmentation yolov12det, yolov12seg
YOLOv11 Detection / Segmentation yolov11det, yolov11seg
YOLOv8 Detection / Segmentation yolov8det, yolov8seg
YOLOv5 Detection / Segmentation yolov5det, yolov5seg
DETR Detection detrdet
RF-DETR Detection rfdetrdet
Deformable DETR Detection deformabledetrdet

Core API

  • build(model_name_or_cls, **kwargs): build a model instance by name or class.
  • list_models(): list registered model names.
  • register_model(*names): register a custom model class.

Detection models return:

# np.ndarray, shape=(N, 6)
# [x1, y1, x2, y2, confidence, class]

Segmentation models return:

# (detections, masks)
# detections: np.ndarray, shape=(N, 6)
# masks: np.ndarray, shape=(N, H, W)

More Docs

Development

git clone <this repository>
cd cvmd
uv sync --dev

Metadata

Release files for cvmd 0.1.3

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

Source distribution (sdist)

Source distribution for cvmd 0.1.3
File Size Uploaded Provenance Actions
cvmd-0.1.3.tar.gz 32.7 kB Without provenance Details for cvmd-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cvmd 0.1.3
File Interpreter ABI Platform Actions
cvmd-0.1.3-py3-none-any.whl Python 3 none any Details for cvmd-0.1.3-py3-none-any.whl

Total release size: 63.3 kB

Release files / cvmd-0.1.3.tar.gz

Download URL cvmd-0.1.3.tar.gz
Size 32.7 kB
Tags Source
SHA-256 checksum
How to use checksums
453e222adf3550845f6a91fb8a885a6f2932b663aa358f4d9146f6d51fdfbe2d
BLAKE2b-256 checksum
How to use checksums
83a9edbed1e2d7f809582d80aa1ca82ec021cfa0e591d6f7e2bf68553b5b2ae5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cvmd-0.1.3-py3-none-any.whl

Download URL cvmd-0.1.3-py3-none-any.whl
Size 30.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd28385255afbea40eaac101584e177f53bd61b2bb6cc74383ed9455e4b9ac13
BLAKE2b-256 checksum
How to use checksums
58e808b0ad48a94e07d6419d0e94e4b7819cd8eaed6d7442119a55a566283af3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for cvmd 0.1.3

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