Skip to main content

cvsutils

Unofficial utility scripts for Microsoft Custom Vision Service.

Setup

pip install cvsutils
export CVS_ENDPOINT='<endpoint>'
export CVS_TRAINING_KEY='<training_key>'
export CVS_PREDICTION_KEY='<prediction_key>'
export CVS_PREDICTION_RESOURCE_ID='<resource_id>'

Those keys and endpoint information can be found in the Custom Vision's settings page.

Available commands

# Show a list of projects
cvs_list_projects [--verbose]

# Create a new project
cvs_create_project <dataset_filepath> [--project_name <name>] [--domain_id <domain_id>]

# Download dataset from a project
cvs_download_project <project_id> <output_dir> [--filter_tag <tag_id> [<tag_id> ...]]

# Train a model
cvs_train_project <project_id> [--domain_id <domain_id>] [--type {multiclass,multilabel}] [--force]

# Export a model
cvs_export_model <project_id> <iteration_id> {tensorflow,coreml,onnx} [--output_filepath <filepath>]

And

  • cvs_add_images
  • cvs_download_predictions
  • cvs_evaluate_project
  • cvs_get_domains
  • cvs_predict_dataset
  • cvs_predict_image
  • cvs_remove_iteration
  • cvs_show_project
  • cvs_validate_dataset

To see the detailed help, please run the command with "-h" option.

Dataset file format

This tool uses the SIMPLE dataset format to upload/download datasets from Custom Vision Service.

For details, please see the simpledataset repository.

Metadata

Release files for cvsutils 0.1.11

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

Source distribution (sdist)

Source distribution for cvsutils 0.1.11
File Size Uploaded Provenance Actions
cvsutils-0.1.11.tar.gz 18.1 kB Without provenance Details for cvsutils-0.1.11.tar.gz

Built distribution (wheel)

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

Total release size: 44.9 kB

Release files / cvsutils-0.1.11.tar.gz

Download URL cvsutils-0.1.11.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4183c8541c08f2817368db01c708d8ed6fee4bf38ee3b542a5ce42193a350aba
BLAKE2b-256 checksum
How to use checksums
efea9cd6370f9e15e7afd05d1499996b8bc8cefaee56fb024f9d46ddc2397636
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

Release files / cvsutils-0.1.11-py3-none-any.whl

Download URL cvsutils-0.1.11-py3-none-any.whl
Size 26.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e89826b9d9cc9fa4840625b74061f7f38b4d25ef643303a2df1bb41378d23298
BLAKE2b-256 checksum
How to use checksums
9149f14e9c1a981e34a7a922811970176b7abfd8fc7dd538916bdbb1aaaa9233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5

Security for cvsutils 0.1.11

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