Public Repository

Last pushed: 2 years ago
Short Description
theano and bunch of other python libraries
Full Description

FROM kaixhin/cuda-theano

Update pip

RUN pip install --upgrade pip

RUN apt-get install -y python-matplotlib

Install [cudnn 7.0 (v4)]

RUN wget --quiet https://www.dropbox.com/s/dcux1l862p4ml4m/cudnn-7.0-linux-x64-v4.0-rc.tar?dl=0 -O cudnn-7.0-linux-x64-v4.0-rc.tar
RUN tar -xvf cudnn-7.0-linux-x64-v4.0-rc.tar && \
rm cudnn-7.0-linux-x64-v4.0-rc.tar

RUN ls /cuda/include/cudnn.h
RUN cp /cuda/include/cudnn.h /usr/local/cuda/include/
RUN cp /cuda/lib64/libcudnn.so* /usr/local/cuda/lib64/

Install [H5py] # This is not an official installation but this works well.

RUN apt-get install -y python-h5py

Install [Requests]

RUN pip install --upgrade Request

Install [Ipython 3.2.1]

RUN pip install "ipython[notebook]==3.2.1"

Install [mpld3]

RUN pip install mpld3

Install [Scikit-learn]

#RUN pip install -U scikit-learn
RUN apt-get install -y \
build-essential python-dev python-setuptools \
libatlas-dev libatlas3gf-base

RUN update-alternatives --set libblas.so.3 \
/usr/lib/atlas-base/atlas/libblas.so.3; \
update-alternatives --set liblapack.so.3 \
/usr/lib/atlas-base/atlas/liblapack.so.3

RUN pip install -U scikit-learn

Install [Keras]

RUN apt-get install -y \
libhdf5-dev \
python-yaml

Upgrade six

RUN pip install --upgrade six

Clone Keras repo and move into it

RUN cd /root && git clone https://github.com/fchollet/keras.git && cd keras && \

Install

python setup.py install

Install [bleeding-edge Lasagne] # this is from Kaixhin's docker file

RUN pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip

Gitclone Deeplearning tutorial(theano)

RUN cd /root && git clone https://github.com/lisa-lab/DeepLearningTutorials.git

Install [bleeding-edge JSAnimation]

RUN cd /root && git clone https://github.com/jakevdp/JSAnimation.git && cd JSAnimation && \
python setup.py install
ENV PYTHONPATH $PYTHONPATH:/root/JSAnimation/:

#RUN pip install --upgrade https://github.com/jakevdp/JSAnimation/archive/master.zip

Install [vim, screen]

RUN apt-get install -y vim screen

IPython nbserver

RUN ipython profile create nbserver
RUN cd /root && wget --quiet https://www.dropbox.com/s/squwoa2lc7yzd9v/setup_nbserver.py?dl=0 -O setup_nbserver.py

rcfiles

RUN printf "export PATH=/usr/local/cuda/bin:$PATH\nexport LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /root/.bashrc
RUN printf "shell -/bin/bash" >> /root/.screenrc

Docker Pull Command
Owner
nzer0

Comments (0)