Skip to content

Instantly share code, notes, and snippets.

@r9y9
Created June 13, 2018 06:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r9y9/0af625c5b73b4640c9ec5c12885bbfa1 to your computer and use it in GitHub Desktop.
Save r9y9/0af625c5b73b4640c9ec5c12885bbfa1 to your computer and use it in GitHub Desktop.
Docker file for Tacotron2
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
curl \
ca-certificates \
libjpeg-dev \
libpng-dev && \
rm -rf /var/lib/apt/lists/*
RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh && \
chmod +x ~/miniconda.sh && \
~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
/opt/conda/bin/conda install conda-build && \
/opt/conda/bin/conda create -y -n py36 python=3.6 numpy pyyaml scipy ipython mkl && \
/opt/conda/bin/conda clean -ya
ENV PATH /opt/conda/envs/py36/bin:$PATH
RUN conda install -y -n py36 pytorch=0.4.0 -c pytorch && /opt/conda/bin/conda clean -ya
# Taco2
RUN git clone https://github.com/r9y9/Tacotron-2 /Tacotron-2 && \
cd /Tacotron-2 && git checkout -B wavenet3 origin/wavenet3 && \
pip install -r requirements.txt && pip install "tensorflow==1.6.0"
ENV LANG C.UTF-8
WORKDIR /Tacotron-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment