Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_TAG=m61
ARG BASE_TAG=m64
ARG TENSORFLOW_VERSION=2.4.1

FROM gcr.io/kaggle-images/python-tensorflow-whl:${TENSORFLOW_VERSION}-py37 as tensorflow_whl
Expand Down Expand Up @@ -39,8 +39,9 @@ RUN conda config --add channels conda-forge && \
conda config --add channels pytorch && \
conda config --add channels rapidsai && \
# ^ rapidsai is the highest priority channel, default lowest, conda-forge 2nd lowest.
# 161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import.
conda install matplotlib basemap cartopy python-igraph imagemagick "pysal==2.1.0" && \
# b/182405233 pyproj 3.x is not compatible with basemap 1.2.1
# b/161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import.
conda install matplotlib basemap cartopy python-igraph imagemagick "pyproj=2.6" "pysal==2.1.0" && \
conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" cpuonly && \
/tmp/clean-layer.sh

Expand Down
2 changes: 1 addition & 1 deletion tensorflow-whl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM nvidia/cuda:10.2-cudnn7-devel-ubuntu18.04 AS nvidia
FROM gcr.io/deeplearning-platform-release/base-cpu:m61
FROM gcr.io/deeplearning-platform-release/base-cpu:m64

# Avoid interactive configuration prompts/dialogs during apt-get.
ENV DEBIAN_FRONTEND=noninteractive
Expand Down
4 changes: 2 additions & 2 deletions tests/test_matplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ def test_plot(self):
self.assertTrue(os.path.isfile("plot1.png"))

def test_basemap(self):
Basemap(width=100,height=100,projection='aeqd',
lat_0=40,lon_0=-105)
m = Basemap(width=100,height=100,projection='aeqd', lat_0=40,lon_0=-105)
self.assertEqual(0, m.xmin)