Skip to main content

Utilities to load and use pytorch datasets stored in Minio S3

Project description

Torch Dataset Utilities

The python library torchdatasetutils produces torch DataLoader classes and utility functions for several imaging datasets. This currently includes sets of images and annotations from CVAT, COCO dataset. "torchdatasetutil" uses an s3 object storage to hold dataset data. This enables training and test to be performed on nodes different from where the dataset is stored with application defined credentials. It uses torch PyTorch worker threads to prefetch data for efficient GPU or CPU training and inference.

"torchdatasetutils" takes as an input the pymlutil.s3 object to access the object storage.

Two json or yaml dictionaries are loaded from the object storage to identify and process the dataset: the dataset description and class dictionary. The the dataset description is unique for each type of dataset. The class dictionary is common to all datasets and describes data transformation and data augmentation.

Library structure

See torchdatasetutil.ipynb for library interface and usage

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

torchdatasetutil-0.0.34.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

torchdatasetutil-0.0.34-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file torchdatasetutil-0.0.34.tar.gz.

File metadata

  • Download URL: torchdatasetutil-0.0.34.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.2 importlib-metadata/4.8.2 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for torchdatasetutil-0.0.34.tar.gz
Algorithm Hash digest
SHA256 ebe1e4f76e56da2fa4e21f40278b05eea8c66f2c02e0fbaed599dded99901406
MD5 d828c9934fd9eef8ea01b103bde1415d
BLAKE2b-256 e9249bffc0485fd15f74a25d8e505cc578b7e27af7cb6615f7ae5bf8b01d744f

See more details on using hashes here.

File details

Details for the file torchdatasetutil-0.0.34-py3-none-any.whl.

File metadata

  • Download URL: torchdatasetutil-0.0.34-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.2 importlib-metadata/4.8.2 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for torchdatasetutil-0.0.34-py3-none-any.whl
Algorithm Hash digest
SHA256 c24ed9c53209ae06507cc4f1c7cac7f8732ecd234e56dad83d2ddb2c43b6b324
MD5 0c27e5de7f3e5c815a97bcd0acc35d70
BLAKE2b-256 239a6420527126e6fb839cd79614d67a6cc980b564e09bdb4ce98b1d291a052a

See more details on using hashes here.

Supported by

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