Skip to main content

trVAE - Transfer Variational Autoencoders pytorch

Project description

trvaep PyPI version


A pytorch implementation of trVAE (transfer Variational Autoencoder). trVAE is a deep generative model which learns mapping between multiple different styles (conditions). trVAE can be used for style transfer on images, predicting single-cell perturbations responses and batch removal.

Getting Started


Installation with pip

To install the latest version from PyPI, simply use the following bash script:

pip install trvaep

or install the development version via pip:

pip install git+

or you can first install flit and clone this repository:

pip install flit
git clone
cd trvaep
flit install


  • For simple perturbation prediction check this example with interferon (IFN)-β stimulation from Kang et al..

  • For multi condition perturbation prediction and batch-removal check this example with multiple infections from Haber et al..

Reproducing paper results:

In order to reproduce paper results visit here.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for trvaep, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size trvaep-0.0.8-py2.py3-none-any.whl (57.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size trvaep-0.0.8.tar.gz (934.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page