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.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytorch-polkadots-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d11420b60658fa2c471e25f88ece0c1f0012d41e69129ffcb89fdf81e44fd4dc
MD5 a0c3f54ff1d07dd47f30d941a5339eb0
BLAKE2b-256 85cb55dfcaa23111ea6344b085ba63b2fb581ff21f186bf7ecc143471ec7bb5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytorch_polkadots-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9401d582fa9e33fb104fc53d3fad258e5bcfaddea50232654332b948fbb5a312
MD5 83b70329046a6b08ba61298474aaff6d
BLAKE2b-256 83b49eb661963d538ff62d786fde1c65deb220c619bbbe6693e5ed4520777175

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