Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. ARG REPOSITORY=nvidia/cuda
  2. FROM $REPOSITORY:8.0-runtime-ubuntu16.04
  3. LABEL maintainer "NVIDIA CORPORATION <cudatools@nvidia.com>"
  4.  
  5. RUN echo "deb http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/nvidia-ml.list
  6.  
  7. ENV CUDNN_VERSION 6.0.21
  8. LABEL com.nvidia.cudnn.version="${CUDNN_VERSION}"
  9.  
  10. RUN apt-get update && apt-get install -y --no-install-recommends \
  11. libcudnn6=$CUDNN_VERSION-1+cuda8.0 && \
  12. rm -rf /var/lib/apt/lists/*
  13.  
  14. RUN apt-get update
  15. RUN apt-get install -y python3-pip python3-dev
  16. RUN apt-get install -y python3-tk
  17. RUN pip3 install --upgrade pip
  18. RUN pip3 install keras
  19. RUN pip3 install tensorflow-gpu==1.3.0
  20. RUN pip3 install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp35-cp35m-manylinux1_x86_64.whl
  21. RUN pip3 install torchvision
  22. RUN pip3 install scikit-learn
  23. RUN pip3 install sk-video
  24. RUN pip3 install scikit-image
  25. RUN pip3 install pandas
  26. RUN pip3 install tqdm
  27. RUN pip3 install SimpleITK
  28. RUN pip3 install pydicom
  29. RUN pip3 install h5py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement