Skip to main content

Python SDK Data Spree AI Platform

Project description

Data Spree AI Platform SDK

The Platform SDK acts as an interface to the Data Spree AI Platform, contains all classes and functions to integrate custom models into the platform, and it provides a command-line tool for importing datasets of the following formats:

  • Data Spree
  • KITTI
  • COCO

Furthermore, it is possible to export datasets from the platform.

Usage

General Usage

Usage: ds [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  export
  import

Dataset Import

Usage: ds import [OPTIONS]

Options:
  --format [dataspree|kitti|coco]  Dataset format to import
  --dataset_name TEXT         Name of the newly created dataset.
  --dataset_id INTEGER        ID of the dataset to which new items should be
                              imported. If set to '-1', a new dataset will be
                              created
  --images PATH               Directory containing the images to import.
                              [required]
  --annotations PATH          Directory or file containing the annotations to
                              import.  [required]
  --http_retries INTEGER      Number of HTTP retries.  [default: 10]
  --username TEXT             Username for data spree vision platform.
  --password TEXT             Password for data spree vision platform.
  --url TEXT                  URL to the API of the platform.
  --help                      Show this message and exit.

Dataset Export

Usage: ds export [OPTIONS]

Options:
  -o, --output_dir DIRECTORY   Output directory.  [required]
  -i, --id INTEGER             ID of the dataset to download.
  -n, --n_items INTEGER        Number of items to download. Download all
                               items: '-1'  [default: -1]
  --http_retries INTEGER       Number of HTTP retries.  [default: 10]
  --parallel_requests INTEGER  Number of parallel requests.  [default: 16]
  --username TEXT              Username for data spree vision platform.
  --password TEXT              Password for data spree vision platform.
  --url TEXT                   URL to the API of the platform.
  --help                       Show this message and exit.

License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dataspree_platform_sdk-1.9.8.tar.gz (51.4 kB view details)

Uploaded Source

File details

Details for the file dataspree_platform_sdk-1.9.8.tar.gz.

File metadata

File hashes

Hashes for dataspree_platform_sdk-1.9.8.tar.gz
Algorithm Hash digest
SHA256 01f21e3a9b1d8a7cd7c7914c84ee387c798bb7bfe17aea3eef799cc0c6762ec5
MD5 a884381c06412048306345275cd640af
BLAKE2b-256 694dc362956b8b23579a29cae3f554be479331df0fdaaf30339898eca54315c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page