Skip to main content

descriptron-vision

Mask and landmark prediction for Descriptron: torchvision detectors, SAM2-PAL propagation and DINOv3 landmark transfer.

pip install descriptron-vision
descriptron-train --task masks --coco-json annotations.json --img-dir images/ \
                  --output-dir out/ --total-iters 20000
descriptron-predict --checkpoint out/model_final_*.pth --coco-json annotations.json \
                    --img-dir images/ --annotations_out predictions.json

No compiler required. torch and torchvision are ordinary wheels on Linux, macOS and Windows. For CUDA, install torch from PyTorch's own index first:

pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
pip install descriptron-vision

On a Mac the detectors can use the Apple GPU through PyTorch's MPS device, which is why this backend exists: Detectron2 has no macOS wheels and no Apple Silicon support.

Two optional dependencies that cannot be declared

PyPI rejects a git dependency in package metadata, so neither SAM2 nor Detectron2 is listed. Both are imported lazily, and the error names the command to install them. The Docker image carries both ready to run.

Choosing a backbone

--arch v1 (default) is maskrcnn_resnet50_fpn; --arch v2 is maskrcnn_resnet50_fpn_v2. v2 scores higher on COCO, but on a few hundred training images v1 won on 3 of 3 folds of a grouped species hold-out — its lighter two-FC box head converges further in the same budget. Measured on the data, not assumed from the model zoo.

Metadata

Release files for descriptron-vision 2.8.7

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

Source distribution (sdist)

Source distribution for descriptron-vision 2.8.7
File Size Uploaded Provenance Actions
descriptron_vision-2.8.7.tar.gz 238.4 kB Without provenance Details for descriptron_vision-2.8.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for descriptron-vision 2.8.7
File Interpreter ABI Platform Actions
descriptron_vision-2.8.7-py3-none-any.whl Python 3 none any Details for descriptron_vision-2.8.7-py3-none-any.whl

Total release size: 518.1 kB

Release files / descriptron_vision-2.8.7.tar.gz

Download URL descriptron_vision-2.8.7.tar.gz
Size 238.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cd2aae81f9cee0c5acca91b58be020ab8ad334c0d937f873ae5a5dad935e2369
BLAKE2b-256 checksum
How to use checksums
f0b7346277ddc23b8cebbb4ab28333a062d8f7195a55e1c425088a5c7d2aa795
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Release files / descriptron_vision-2.8.7-py3-none-any.whl

Download URL descriptron_vision-2.8.7-py3-none-any.whl
Size 279.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64d4f38c8569e0d266b8178e1c63206cd3c8ce118b24cbf991f4b02f2969c6e2
BLAKE2b-256 checksum
How to use checksums
a19e09097f09a44a61d2153a9a54603e39fcaae3bb9b31d80e59e775e8b0a35c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Security for descriptron-vision 2.8.7

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