代码拉取完成,页面将自动刷新
FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
MAINTAINER hirakawat
# basic packages
RUN apt-get -y update && apt-get -y upgrade && \
apt-get install -y sudo cmake g++ gfortran \
libhdf5-dev pkg-config build-essential \
wget curl git htop tmux vim ffmpeg rsync openssh-server \
python3 python3-dev libpython3-dev && \
apt-get -y autoremove && apt-get -y clean && apt-get -y autoclean && \
rm -rf /var/lib/apt/lists/*
# cuda path
ENV CUDA_ROOT /usr/local/cuda
ENV PATH $PATH:$CUDA_ROOT/bin
ENV LD_LIBRARY_PATH $LD_LIBRARY_PATH:$CUDA_ROOT/lib64:$CUDA_ROOT/lib:/usr/local/nvidia/lib64:/usr/local/nvidia/lib
ENV LIBRARY_PATH /usr/local/nvidia/lib64:/usr/local/nvidia/lib:/usr/local/cuda/lib64/stubs:/usr/local/cuda/lib64:/usr/local/cuda/lib$LIBRARY_PATH
# python3 modules
RUN wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py && \
pip3 install --upgrade --no-cache-dir wheel six setuptools cython numpy scipy==1.2.0 \
matplotlib seaborn scikit-learn scikit-image pillow requests \
jupyterlab networkx h5py pandas plotly protobuf tqdm tensorboardX colorama setproctitle && \
pip3 install https://download.pytorch.org/whl/cu90/torch-1.0.0-cp35-cp35m-linux_x86_64.whl
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。