Skip to main content

Provides the ability to construct a simulated image dataset on the fly with different characteristics.

Project description

Overview

This project provides the ability to construct a simulated image dataset on the fly with different characteristics. While it is possible to simulate datasets that models can be trained against successfully, it is also useful to adjust dataset parameters to yields datasets that much more challenging to train against.

Installation

With poetry

poetry install 

With pip

pip install pytorch-polkadots 

From cloned repo

pip install -r requirements.txt

Tests

bash
export PYTHONTEST=.
pytest

Example image

You can see an image generated by the code with:

python main.py

This will display the following image:

PyTorch dataset

The code provides a pytorch dataset that you can use in benchmarks.

class PolkaDotDataset(Dataset)

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

pytorch-polkadots-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

pytorch_polkadots-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file pytorch-polkadots-0.1.0.tar.gz.

File metadata

  • Download URL: pytorch-polkadots-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.7.9 Darwin/20.3.0

File hashes

Hashes for pytorch-polkadots-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6fc7118ab21c5b4d33eae0a9744843a3e5a64beb3639a4d2011fc0cc34c3d554
MD5 c0f2fc3b8c0d0471fa7c77c3472241a2
BLAKE2b-256 354f38fa9e4331524497010cede7ba7ed1636209220f156c96f25f574f82b29c

See more details on using hashes here.

File details

Details for the file pytorch_polkadots-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytorch_polkadots-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79b4f87d83c6898acd21f320542f2196c5e03ef9778144c7402cb5fb6737b72e
MD5 149311f7fc2c7793e749dd8d9de77616
BLAKE2b-256 6a53710ab29a96dbfb40b61138683940dddd3c8bb8694da94a5f74e862e3018c

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