Metadata-Version: 2.1
Name: flowtron
Version: 22.12.28
Summary: Flowtron library
Home-page: http://github.com/8tm/flowtron
Author: Tadeusz Miszczyk
Author-email: 42252259+8tm@users.noreply.github.com
Requires-Python: >=3.8,<4.0
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Pillow (>=9.3.0,<10.0.0)
Requires-Dist: Unidecode (>=1.3.6,<2.0.0)
Requires-Dist: inflect (>=6.0.2,<7.0.0)
Requires-Dist: librosa (>=0.9.2,<0.10.0)
Requires-Dist: matplotlib (>=3.6.2,<4.0.0)
Requires-Dist: numpy (>=1.23.5,<2.0.0)
Requires-Dist: scipy (>=1.9.3,<2.0.0)
Requires-Dist: tensorboardX (>=2.5.1,<3.0.0)
Requires-Dist: tensorflow-io-gcs-filesystem (>=0.29.0,<0.30.0) ; python_version >= "3.8" and python_version < "3.11"
Requires-Dist: waveglow (>=22.12.28,<23.0.0)
Project-URL: Documentation, https://test.pypi.org/project/flowtron
Project-URL: Repository, http://github.com/8tm/flowtron
Description-Content-Type: text/markdown

# Flowtron library

This Flowtron library was changed to be used with vait library.

Original code, README.md and additional information:

https://github.com/NVIDIA/flowtron


## Instalation

### 1) Install flowtron library

(This will also install waveglow library)

```shell
pip install flowtron==22.12.28
```


### 2) Install CUDA 11.3 or 11.6

```shell
pip install -r requirements-cuda-11.3.txt
# or
pip install -r requirements-cuda-11.6.txt
```


### 3) Install apex
```shell
git clone https://github.com/NVIDIA/apex /home/${USER}/apex
cd /home/${USER}/apex
pip install -v --disable-pip-version-check --no-cache-dir ./
cd -
```


### 4) Download published model Flowtron LJS

```shell
wget https://drive.google.com/open?id=1Cjd6dK_eFz6DE0PKXKgKxrzTUqzzUDW-
```
### 5) Download published model Flowtron LibriTTS

```shell
wget https://drive.google.com/open?id=1KhJcPawFgmfvwV7tQAOeC253rYstLrs8
```
### 6) Download published model Flowtron LibriTTS2K

```shell
wget https://drive.google.com/open?id=1sKTImKkU0Cmlhjc_OeUDLrOLIXvUPwnO
```


## Usage: Training

```shell
flowtron-train -c config.json -p train_config.output_directory=outdir data_config.use_attn_prior=1
```

## Usage: Inferencing

```shell
flowtron-inference -c config.json -f models/flowtron_ljs.pt -w models/waveglow_256channels_v4.pt -t "It is well know that deep generative models have a rich latent space!" -i 0
```

