Commit 54e20dc 1 parent 20850ed commit 54e20dc Copy full SHA for 54e20dc
File tree 4 files changed +28
-28
lines changed
4 files changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -7,21 +7,22 @@ Click==7.0
7
7
click-plugins==1.1.1
8
8
cligj==0.5.0
9
9
cycler==0.10.0
10
- Flask==1.0.2
10
+ Flask==1.0.3
11
11
geojson==2.4.1
12
12
idna==2.8
13
+ importlib-metadata==0.15
13
14
itsdangerous==1.1.0
14
15
Jinja2==2.10.1
15
16
kiwisolver==1.1.0
16
17
MarkupSafe==1.1.1
17
- matplotlib==3.0.3
18
+ matplotlib==3.1.0
18
19
mercantile==1.0.4
19
20
more-itertools==7.0.0
20
- numpy==1.16.3
21
+ numpy==1.16.4
21
22
opencv-contrib-python==4.1.0.25
22
23
osmium==2.15.2
23
24
Pillow==6.0.0
24
- pluggy==0.11 .0
25
+ pluggy==0.12 .0
25
26
py==1.8.0
26
27
pyparsing==2.4.0
27
28
pyproj==2.1.3
@@ -30,15 +31,16 @@ python-dateutil==2.8.0
30
31
rasterio==1.0.23
31
32
requests==2.22.0
32
33
Rtree==0.8.3
33
- scipy==1.2.1
34
+ scipy==1.3.0
34
35
Shapely==1.6.4.post2
35
36
six==1.12.0
36
37
snuggs==1.4.6
37
38
supermercado==0.0.5
38
39
toml==0.10.0
39
40
torch==1.1.0
40
- torchvision==0.2.2.post3
41
+ torchvision==0.3.0
41
42
tqdm==4.32.1
42
- urllib3==1.25.2
43
+ urllib3==1.25.3
43
44
wcwidth==0.1.7
44
45
Werkzeug==0.15.4
46
+ zipp==0.5.1
Original file line number Diff line number Diff line change
1
+ torch
1
2
torchvision
2
3
numpy
3
4
pillow
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:18.04
2
2
3
- ARG TCH=1.1.0
4
- ARG PY=36
5
-
6
3
WORKDIR /usr/src/app
7
4
8
- RUN apt-get update -qq && \
9
- DEBIAN_FRONTEND=noninteractive apt-get install -qq -y -o quiet=1 \
10
- python3 python3-dev python3-tk python3-pip libspatialindex-c4v5 libsm6
5
+ ENV LANG="C.UTF-8" LC_ALL="C.UTF-8" PATH="/opt/venv/bin:$PATH"
6
+
7
+ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
8
+ python3 python3-pip python3-venv libspatialindex-c4v5 libsm6 libxrender1 libxext6 && \
9
+ python3 -m venv /opt/venv && \
10
+ python3 -m pip install pip==19.1.1 && \
11
+ rm -rf /var/lib/apt/lists/*
11
12
12
- RUN python3 -m pip install http://download.pytorch.org/whl/cpu/torch-${TCH}-cp${PY}-cp${PY}m-linux_x86_64.whl
13
+ RUN python3 -m pip install https://download.pytorch.org/whl/cpu/torch-1.1.0-cp36-cp36m-linux_x86_64.whl && \
14
+ python3 -m pip install https://download.pytorch.org/whl/cpu/torchvision-0.3.0-cp36-cp36m-linux_x86_64.whl
13
15
14
16
COPY deps/requirements-lock.txt deps/requirements-lock.txt
15
17
RUN python3 -m pip install -r deps/requirements-lock.txt
@@ -18,8 +20,5 @@ RUN python3 -c "from torchvision.models import resnet50; resnet50(True)"
18
20
19
21
COPY . .
20
22
21
- ENV LANG C.UTF-8
22
- ENV LC_ALL C.UTF-8
23
-
24
23
ENTRYPOINT ["/usr/src/app/rs"]
25
24
CMD ["-h"]
Original file line number Diff line number Diff line change 1
1
FROM nvidia/cuda:10.1-cudnn7-runtime
2
2
3
- ARG TCH=1.1.0
4
- ARG PY=36
5
- ARG CU=100
6
-
7
3
WORKDIR /usr/src/app
8
4
9
- RUN apt-get update -qq && \
10
- DEBIAN_FRONTEND=noninteractive apt-get install -qq -y -o quiet=1 \
11
- python3 python3-dev python3-tk python3-pip libspatialindex-c4v5 libsm6
5
+ ENV LANG="C.UTF-8" LC_ALL="C.UTF-8" PATH="/opt/venv/bin:$PATH"
6
+
7
+ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
8
+ python3 python3-pip python3-venv libspatialindex-c4v5 libsm6 libxrender1 libxext6 && \
9
+ python3 -m venv /opt/venv && \
10
+ python3 -m pip install pip==19.1.1 && \
11
+ rm -rf /var/lib/apt/lists/*
12
12
13
- RUN python3 -m pip install http://download.pytorch.org/whl/cu${CU}/torch-${TCH}-cp${PY}-cp${PY}m-linux_x86_64.whl
13
+ RUN python3 -m pip install https://download.pytorch.org/whl/cu100/torch-1.1.0-cp36-cp36m-linux_x86_64.whl && \
14
+ python3 -m pip install https://download.pytorch.org/whl/cu100/torchvision-0.3.0-cp36-cp36m-linux_x86_64.whl
14
15
15
16
COPY deps/requirements-lock.txt deps/requirements-lock.txt
16
17
RUN python3 -m pip install -r deps/requirements-lock.txt
@@ -19,8 +20,5 @@ RUN python3 -c "from torchvision.models import resnet50; resnet50(True)"
19
20
20
21
COPY . .
21
22
22
- ENV LANG C.UTF-8
23
- ENV LC_ALL C.UTF-8
24
-
25
23
ENTRYPOINT ["/usr/src/app/rs"]
26
24
CMD ["-h"]
You can’t perform that action at this time.
0 commit comments