| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 25beb81 commit 8bf4913
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - ARG BASE_TAG=m61 | ||
| 1 | + ARG BASE_TAG=m64 | ||
| 2 | 2 | ARG TENSORFLOW_VERSION=2.4.1 | |
| 3 | 3 | ||
| 4 | 4 | FROM gcr.io/kaggle-images/python-tensorflow-whl:${TENSORFLOW_VERSION}-py37 as tensorflow_whl | |
@@ -39,8 +39,9 @@ RUN conda config --add channels conda-forge && \ | |||
| 39 | 39 | conda config --add channels pytorch && \ | |
| 40 | 40 | conda config --add channels rapidsai && \ | |
| 41 | 41 | # ^ rapidsai is the highest priority channel, default lowest, conda-forge 2nd lowest. | |
| 42 | - # 161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import. | ||
| 43 | - conda install matplotlib basemap cartopy python-igraph imagemagick "pysal==2.1.0" && \ | ||
| 42 | + # b/182405233 pyproj 3.x is not compatible with basemap 1.2.1 | ||
| 43 | + # b/161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import. | ||
| 44 | + conda install matplotlib basemap cartopy python-igraph imagemagick "pyproj=2.6" "pysal==2.1.0" && \ | ||
| 44 | 45 | conda install "pytorch=1.7" "torchvision=0.8" "torchaudio=0.7" "torchtext=0.8" cpuonly && \ | |
| 45 | 46 | /tmp/clean-layer.sh | |
| 46 | 47 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | FROM nvidia/cuda:10.2-cudnn7-devel-ubuntu18.04 AS nvidia | |
| 2 | - FROM gcr.io/deeplearning-platform-release/base-cpu:m61 | ||
| 2 | + FROM gcr.io/deeplearning-platform-release/base-cpu:m64 | ||
| 3 | 3 | ||
| 4 | 4 | # Avoid interactive configuration prompts/dialogs during apt-get. | |
| 5 | 5 | ENV DEBIAN_FRONTEND=noninteractive | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,5 +14,5 @@ def test_plot(self): | |||
| 14 | 14 | self.assertTrue(os.path.isfile("plot1.png")) | |
| 15 | 15 | ||
| 16 | 16 | def test_basemap(self): | |
| 17 | - Basemap(width=100,height=100,projection='aeqd', | ||
| 18 | - lat_0=40,lon_0=-105) | ||
| 17 | + m = Basemap(width=100,height=100,projection='aeqd', lat_0=40,lon_0=-105) | ||
| 18 | + self.assertEqual(0, m.xmin) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments