-
Notifications
You must be signed in to change notification settings - Fork 955
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded our base cpu and gpu base image -updated torch eco. -removed patch and pins placed for tf 2.15 -removed torch text, it is no longer maintained and incompatible with torch 2.4.0 -geopanda depreciated it's datasets methods, test needed to be updated
- Loading branch information
Showing
10 changed files
with
29 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
BASE_IMAGE_REPO=gcr.io/deeplearning-platform-release | ||
BASE_IMAGE_TAG=m114 | ||
CPU_BASE_IMAGE_NAME=tf2-cpu.2-15.py310 | ||
GPU_BASE_IMAGE_NAME=tf2-gpu.2-15.py310 | ||
BASE_IMAGE_TAG=m122 | ||
CPU_BASE_IMAGE_NAME=tf2-cpu.2-16.py310 | ||
GPU_BASE_IMAGE_NAME=tf2-gpu.2-16.py310 | ||
LIGHTGBM_VERSION=4.2.0 | ||
TORCH_VERSION=2.1.2 | ||
TORCHAUDIO_VERSION=2.1.2 | ||
TORCHTEXT_VERSION=0.16.2 | ||
TORCHVISION_VERSION=0.16.2 | ||
TORCH_VERSION=2.4.0 | ||
TORCHAUDIO_VERSION=2.4.0 | ||
TORCHVISION_VERSION=0.19.0 | ||
JAX_VERSION=0.4.26 | ||
CUDA_MAJOR_VERSION=12 | ||
CUDA_MINOR_VERSION=1 | ||
CUDA_MINOR_VERSION=3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
import unittest | ||
|
||
import geopandas | ||
from shapely.geometry import Polygon | ||
|
||
class TestGeopandas(unittest.TestCase): | ||
def test_read(self): | ||
df = geopandas.read_file(geopandas.datasets.get_path('nybb')) | ||
self.assertTrue(df.size > 1) | ||
|
||
def test_spatial_join(self): | ||
cities = geopandas.read_file(geopandas.datasets.get_path('naturalearth_cities')) | ||
world = geopandas.read_file(geopandas.datasets.get_path('naturalearth_lowres')) | ||
countries = world[['geometry', 'name']] | ||
countries = countries.rename(columns={'name':'country'}) | ||
cities_with_country = geopandas.sjoin(cities, countries, how="inner", op='intersects') | ||
self.assertTrue(cities_with_country.size > 1) | ||
def test_GeoSeries(self): | ||
p1 = Polygon([(0, 0), (1, 0), (1, 1)]) | ||
p2 = Polygon([(0, 0), (1, 0), (1, 1), (0, 1)]) | ||
p3 = Polygon([(2, 0), (3, 0), (3, 1), (2, 1)]) | ||
g = geopandas.GeoSeries([p1, p2, p3]) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters