-
Notifications
You must be signed in to change notification settings - Fork 844
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/andabi/deep-voice-conversion
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM tensorflow/tensorflow:1.8.0-gpu | ||
MAINTAINER Guang Yang <[email protected]> | ||
|
||
RUN apt-get update -y && apt-get install -y \ | ||
sox \ | ||
libsndfile1-dev \ | ||
git \ | ||
ffmpeg \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
|
||
ADD pip-requirements.txt /pip-requirements.txt | ||
RUN pip install -r /pip-requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Training with Nvidia-Docker | ||
## Prerequisites | ||
Because of dependencies of the GPU (cuda etc), there are 3 steps if you're starting from scratch on a 16.04 machine | ||
- install cuda | ||
- install docker | ||
- install nvidia-docker | ||
|
||
## Quickstart | ||
first build the image | ||
``` | ||
nvidia-docker build -t $USER/deep-voice-transfer-gpu:latest . | ||
``` | ||
|
||
then run | ||
``` | ||
nvidia-docker run -it --rm $USER/deep-voice-transfer-gpu:latest | ||
``` | ||
|
||
## Got-chas | ||
- Notice the pip-requirement does not have tensorflow, but instead tensorflow-gpu. I didn't quite figure out how to force it to use GPU (even with the `-gpu 0` flag) so having tensorflow also installed meant that CPU is used so you "hang" at 0% when you train weights for net2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
tensorflow-gpu >= 1.1 | ||
numpy >= 1.11.1 | ||
librosa == 0.5.1 | ||
tensorpack == 0.8.0 | ||
pyyaml | ||
soundfile | ||
pydub | ||
git+https://github.com/wookayin/tensorflow-plot.git@master | ||
tqdm |