Skip to main content

Variational encoder-decoder models in Pyro probabilistic programming language

Project description

pyroVED


build PyPI version

pyroVED is an open-source package built on top of the Pyro probabilistic programming language for applications of variational encoder-decoder models in spectral and image analysis. The currently available models include variational autoencoders with translational and/or rotational invariance for unsupervised, class-conditioned, and semi-supervised learning, as well as im2spec-type models for predicting spectra from images and vice versa. More models to come!

Examples

The easiest way to start using pyroVED is via Google Colab, which is a free research tool from Google for machine learning education and research built on top of Jupyter Notebook. The following notebooks can be executed in Google Colab by simply clicking on the "Open in Colab" icon:

  • Shift-VAE: Mastering the 1D shifts in spectral data Open In Colab

  • r-VAE: Disentangling image content from rotations Open In Colab

  • j(r)-VAE: Learning (jointly) discrete and continuous representations of data Open In Colab

  • ss(r)-VAE: Semi-supervised learning from data with orientational disorder Open In Colab

Installation

Requirements

  • python >= 3.6
  • pyro-ppl >= 1.6

Install pyroVED using pip:

pip install pyroved

Latest (unstable) version

To upgrade to the latest (unstable) version, run

pip install --upgrade git+https://github.com/ziatdinovmax/pyroved.git

Development

To run the unit tests, you'll need to have a pytest framework:

python3 -m pip install pytest

Then run tests as:

pytest tests

If this is your first time contributing to an open-source project, we highly recommend starting by familiarizing yourself with these very nice and detailed contribution guidelines.

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

pyroved-0.1.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

pyroved-0.1.0-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file pyroved-0.1.0.tar.gz.

File metadata

  • Download URL: pyroved-0.1.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for pyroved-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9ff61b6c62612389ba29c5efbb1c7667bec7ff9919503cae6c99c49cec5a22bb
MD5 39b96bacb9d5cb927406dd53b2f6dd0d
BLAKE2b-256 4f743f10431a73081f23e4a8d0b63cd64a89e489bf80d6c180af8d12ad9ddf51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyroved-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for pyroved-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61e0f86b5954a2c44caf15e8cc4e9fa07100eb27032a43332512bb0c3623d220
MD5 12942e181ec5685411f29160ec7fb83b
BLAKE2b-256 b8102d2c7967dc5ec9f6743968d32974b71eab3a71ee8d30f6a5fdc949e72631

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