Skip to main content

Variational encoder-decoder models in Pyro probabilistic programming language

Project description

pyroVED


build Documentation Status 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 analyses. 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 installed:

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

Uploaded Source

Built Distribution

pyroved-0.1.1-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyroved-0.1.1.tar.gz
  • Upload date:
  • Size: 23.2 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.1.tar.gz
Algorithm Hash digest
SHA256 8c96cb45666ce91a9ecda74859373529774ec8f8bb5566f08bba16de498a4be5
MD5 33447dee847f14098acdc56b120026e4
BLAKE2b-256 59eca09b95721d02ade7bda2cf81ae3aee7b2d3e00442bc3aa128c320d600cc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyroved-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 37.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb5fb024a91b632941e5f71005cbbdd37456fece09e4ad7b76ab584ae019fbaf
MD5 3efc5de77b149b7b2a888b7018a203f0
BLAKE2b-256 8007d81f7f8f0076381743e7a175ef7cc7c10fa358fd62a2fe8444a1cb316944

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