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)
Metadata
Release files for pytorch-polkadots 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytorch-polkadots-0.1.1.tar.gz | 3.7 kB | Without provenance | Details for pytorch-polkadots-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytorch_polkadots-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pytorch_polkadots-0.1.1-py3-none-any.whl |
Total release size: 8.3 kB
Release files / pytorch-polkadots-0.1.1.tar.gz
| Download URL | pytorch-polkadots-0.1.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d11420b60658fa2c471e25f88ece0c1f0012d41e69129ffcb89fdf81e44fd4dc
|
|
BLAKE2b-256 checksum How to use checksums |
85cb55dfcaa23111ea6344b085ba63b2fb581ff21f186bf7ecc143471ec7bb5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.7.9 Darwin/20.3.0
|
Release files / pytorch_polkadots-0.1.1-py3-none-any.whl
| Download URL | pytorch_polkadots-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9401d582fa9e33fb104fc53d3fad258e5bcfaddea50232654332b948fbb5a312
|
|
BLAKE2b-256 checksum How to use checksums |
83b49eb661963d538ff62d786fde1c65deb220c619bbbe6693e5ed4520777175
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.7.9 Darwin/20.3.0
|
Security for pytorch-polkadots 0.1.1
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.