Skip to content

Commit 9548534

Browse files
authored
Merge pull request #248 from OpenGeoscience/remove-tile2net
Remove tile2net task and its requirements
2 parents 4635e1b + 28a231b commit 9548534

File tree

5 files changed

+0
-165
lines changed

5 files changed

+0
-165
lines changed

dev/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ RUN pip install --find-links https://girder.github.io/large_image_wheels --edita
1818

1919
RUN if [ "$TASKS" = "1" ]; \
2020
then pip install --editable /opt/geoinsight-server[tasks]; \
21-
# Install tile2net (may take up to 30 mins)
22-
git clone https://github.com/VIDA-NYU/tile2net.git; \
23-
python -m pip install ./tile2net; \
2421
fi
2522

2623
# Use a directory name which will never be an import name, as isort considers this as first-party.

docker-compose.override.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ services:
4444
env_file: ./dev/.env.docker-compose
4545
volumes:
4646
- .:/opt/geoinsight-server
47-
# NVIDIA driver and increased memory limit are required for tile2net inference
48-
deploy:
49-
resources:
50-
reservations:
51-
devices:
52-
- driver: nvidia
53-
count: 1
54-
capabilities: [gpu]
55-
shm_size: 1gb
5647
depends_on:
5748
- postgres
5849
- rabbitmq

geoinsight/core/tasks/analytics/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
from .flood_simulation import FloodSimulation
55
from .geoai_segmentation import GeoAISegmentation
66
from .network_recovery import NetworkRecovery
7-
from .tile2net_segmentation import Tile2NetSegmentation
87

98
analysis_types: list[type[AnalysisType]] = [
109
FloodSimulation,
1110
FloodNetworkFailure,
1211
NetworkRecovery,
13-
Tile2NetSegmentation,
1412
GeoAISegmentation,
1513
CreateRoadNetwork,
1614
]

geoinsight/core/tasks/analytics/tile2net_segmentation.py

Lines changed: 0 additions & 150 deletions
This file was deleted.

geoinsight/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ class GeoInsightMixin(ConfigMixin):
6565
ENABLE_TASK_FLOOD_NETWORK_FAILURE = values.BooleanValue(True)
6666
ENABLE_TASK_NETWORK_RECOVERY = values.BooleanValue(True)
6767
ENABLE_TASK_GEOAI_SEGMENTATION = values.BooleanValue(True)
68-
ENABLE_TASK_TILE2NET_SEGMENTATION = values.BooleanValue(True)
6968
ENABLE_TASK_CREATE_ROAD_NETWORK = values.BooleanValue(True)
7069

7170
@staticmethod

0 commit comments

Comments
 (0)