Rayhane-mamah / Tacotron-2

DeepMind's Tacotron-2 Tensorflow implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker container doesn't build and most of the py scripts dependency nightmares...

BrainSlugs83 opened this issue · comments

commented

After spending 3 days trying to get all my python packages and versions exactly right to try and train this thing... I can't get pass the preprocessing -- it just uses too many out of date or weird versioned packages and no matter how many yak's I shave, there's always more...

So, I decided to give the docker container a try -- but that's also not working -- is there a pre-built docker somewhere? -- here's what I get when I try to build:

docker build -t tacotron-2_image docker/
Sending build context to Docker daemon  2.048kB
Step 1/10 : FROM continuumio/anaconda3:latest
latest: Pulling from continuumio/anaconda3
852e50cd189d: Pull complete
864e1e8957d3: Pull complete
6d4823199f64: Pull complete
Digest: sha256:0b2047cdc438807b87d53272c3d5b10c8238fe65a2fedf9bd72de0b7ba360cb1
Status: Downloaded newer image for continuumio/anaconda3:latest
 ---> 5e5dd010ead8
Step 2/10 : FROM tensorflow/tensorflow:latest-gpu-py3
latest-gpu-py3: Pulling from tensorflow/tensorflow
7ddbc47eeb70: Pull complete
c1bbdc448b72: Pull complete
8c3b70e39044: Pull complete
45d437916d57: Pull complete
d8f1569ddae6: Pull complete
85386706b020: Pull complete
ee9b457b77d0: Pull complete
bebfcc1316f7: Pull complete
644140fd95a9: Pull complete
d6c0f989e873: Pull complete
7a8e64f26211: Pull complete
c33b03e4dd22: Pull complete
bca93af797c1: Pull complete
47f6c197be35: Pull complete
e5da48aa9554: Pull complete
ca68d98a90c4: Pull complete
Digest: sha256:1010e051dde4a9b62532a80f4a9a619013eafc78491542d5ef5da796cc2697ae
Status: Downloaded newer image for tensorflow/tensorflow:latest-gpu-py3
 ---> e2a4af785bdb
Step 3/10 : RUN apt-get update
 ---> Running in 265c8652f296
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease
Ign:3 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  InRelease
Get:4 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Release [697 B]
Get:5 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  Release [564 B]
Hit:6 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:7 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Release.gpg [836 B]
Get:8 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  Release.gpg [833 B]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Ign:10 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Packages
Get:10 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Packages [550 kB]
Get:11 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  Packages [66.5 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1919 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [323 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2350 kB]
Get:16 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [35.5 kB]
Get:17 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [293 kB]
Get:18 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1386 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2157 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [42.6 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB]
Fetched 9399 kB in 13s (719 kB/s)
Reading package lists...
Removing intermediate container 265c8652f296
 ---> d60c47168557
Step 4/10 : RUN apt-get install -y libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg libav-tools wget git vim
 ---> Running in 36590d3a3516
Reading package lists...
Building dependency tree...
Reading state information...
Package libav-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  ffmpeg

E: Package 'libav-tools' has no installation candidate
The command '/bin/bash -c apt-get install -y libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg libav-tools wget git vim' returned a non-zero code: 100

Try removing the libav-tools package from the Dockerfile since as it says the message says ffmpeg replaces it.

Change line 5 of docker file to:

RUN apt-get install -y libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg wget git vim