README
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!
Installation
Requirements
python >= 3.6
pytorch >= 1.8
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.