RedHenLab/singularity_containers:deepspeech2-wget

$ singularity pull shub://RedHenLab/singularity_containers:deepspeech2-wget

Singularity Recipe

Bootstrap:docker
From:ubuntu:latest

%labels
        MAINTAINER xuzhaoqing

%environment
        export LANGUAGE=en_US.UTF-8
        export LANG=en_US.UTF-8
        export LC_ALL=en_US.UTF-8

%post
        apt-get update
        apt-get install -y apt-utils \
                           cmake \
                           locales \
                           language-pack-en \
                           git \
                           python2.7 \
                           python-pip \
                           gcc \
                           pkg-config \
                           libflac-dev \
                           libogg-dev  \
                           libvorbis-dev \
                           libboost-dev \
                           swig \
                           tar \
                           wget
                           
        locale-gen en_US.UTF-8 && dpkg-reconfigure locales
        pip install paddlepaddle-gpu

# It's not clear we need this manual install
#        wget http://downloads.xiph.org/releases/flac/flac-1.3.2.tar.xz   
#        tar -xvf flac-1.3.2.tar.xz
#        cd flac-1.3.2
#        ./configure --prefix=$HOME/usr --disable-ogg
#        make
#        make install
#        cd          

# Get DeepSpeech2 via PaddlePaddle
        git clone https://github.com/PaddlePaddle/DeepSpeech.git
        cd DeepSpeech
        sh setup.sh 

# Notes

# There may be an issue if you want to run Jupyter Notebook from the Singularity image -- here's a hint for a workaround:
# Solve Jupyter permission issue
#    CMD unset XDG_RUNTIME_DIR && \
#    jupyter notebook --port=12220 --no-browser

Collection


View on Datalad

Metrics

key value
id /containers/RedHenLab-singularity_containers-deepspeech2-wget
collection name RedHenLab/singularity_containers
branch master
tag deepspeech2-wget
commit f4a657757a70ca1ed6f2cbcabc46991d54a9cb97
version (container hash) 8836e3eb1717b32b840e18445b7bd0fa
build date 2018-05-27T16:15:48.559Z
size (MB) 1893
size (bytes) 704602143
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.