Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotty Configuration #212

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docker/Dockerfile.spotty
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM tensorflow/tensorflow:1.13.1-gpu-py3-jupyter

# install a pyaudio dependency
RUN apt-get update \
&& apt-get install -y portaudio19-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# install requirements
COPY requirements-spotty.txt requirements-spotty.txt
RUN pip3 install -r requirements-spotty.txt
13 changes: 13 additions & 0 deletions docker/requirements-spotty.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
falcon==1.2.0
inflect==0.2.5
audioread==2.1.5
librosa==0.5.1
matplotlib==2.0.2
numpy==1.14.0
scipy==1.0.0
tqdm==4.11.2
Unidecode==0.4.20
pyaudio==0.2.11
sounddevice==0.3.10
lws
keras
47 changes: 47 additions & 0 deletions spotty.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
project:
name: tacotron
syncFilters:
- exclude:
- .idea/*
- .git/*
- '*/__pycache__/*'
- training_data/*

container:
projectDir: /workspace/project
file: docker/Dockerfile.spotty
ports: [6006, 8888]
volumeMounts:
- name: workspace
mountPath: /workspace

instances:
- name: i1
provider: aws
parameters:
region: us-east-2
instanceType: p2.xlarge
dockerDataRoot: /docker
volumes:
- name: workspace
parameters:
size: 50
deletionPolicy: retain
- name: docker
parameters:
size: 10
mountDir: /docker
deletionPolicy: retain

scripts:
preprocess: |
curl -O http://data.keithito.com/data/speech/LJSpeech-1.1.tar.bz2
tar xvjf LJSpeech-1.1.tar.bz2
rm LJSpeech-1.1.tar.bz2
python preprocess.py
train: |
python train.py --model='Tacotron-2'
tensorboard: |
tensorboard --logdir /workspace/project/logs-Tacotron-2
jupyter: |
jupyter notebook --allow-root --ip 0.0.0.0 --notebook-dir=/workspace/project