forked from fperazzi-zz/proSR
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (18 loc) · 882 Bytes
/
Dockerfile
File metadata and controls
27 lines (18 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM pytorch/pytorch:0.4-cuda9-cudnn7-devel
RUN conda update -n base conda
# Install image libraries
RUN conda install scikit-image cython
# Install visdom
RUN conda install visdom dominate -c conda-forge
RUN pip install easydict
RUN apt-get update \
&& apt-get install -y unzip \
&& apt-get clean
WORKDIR /proSR
# Download the pretrained models from https://www.dropbox.com/s/3fjp5dd70wuuixl/proSR.zip?dl=0
RUN mkdir data \
&& curl "https://uc3b1ac4fd89b8faade327413784.dl.dropboxusercontent.com/cd/0/get/Asc95ggr2ND1PSdArswBOAHZSVD81uKKJUSh4DkwnFEsotIY0GxBQV6u5Qk2qq9MzMf_LRwpbSqUwLjdS3e7cJBiCamP2GfEJLYaj1IFbCuY8A/file?_download_id=4106874430186797740972858684583935099590670666545264828231381385131&_notify_domain=www.dropbox.com&dl=1" > data/proSR.zip \
&& unzip -d data data/proSR.zip \
&& rm data/proSR.zip
COPY . .
ENV PYTHONPATH=/proSR/lib:$PYTHONPATH