-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #464 from GIScience/delete-policy
Implement deletion policy
- Loading branch information
Showing
44 changed files
with
124,635 additions
and
12,411 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -250,3 +250,5 @@ debug-output/ | |
# ml-models | ||
*.pt | ||
*.pth | ||
|
||
celerybeat-schedule.* |
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,4 +1,3 @@ | ||
version: "3.9" | ||
services: | ||
flask: | ||
# Web app | ||
|
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,23 +1,6 @@ | ||
data-dir = "/some/absolute/path" | ||
user-agent = "sketch-map-tool" | ||
broker-url = "redis://localhost:6379" | ||
result-backend = "db+postgresql://smt:smt@localhost:5432" | ||
wms-url-osm = "https://maps.heigit.org/osm-carto/service?SERVICE=WMS&VERSION=1.1.1" | ||
wms-layers-osm = "heigit:osm-carto@2xx" | ||
wms-url-esri-world-imagery = "https://maps.heigit.org/sketch-map-tool/service?SERVICE=WMS&VERSION=1.1.1" | ||
wms-url-esri-world-imagery-fallback = "https://maps.heigit.org/sketch-map-tool/service?SERVICE=WMS&VERSION=1.1.1" | ||
wms-layers-esri-world-imagery = "world_imagery" | ||
wms-layers-esri-world-imagery-fallback = "world_imagery_fallback" | ||
wms-read-timeout = 600 | ||
max-nr-simultaneous-uploads = 25 | ||
max_pixel_per_image = 100000000 | ||
# required configuration variables | ||
neptune_api_token = "h0dHBzOi8aHR06E0Z...jMifQ" | ||
neptune_project = "HeiGIT/SketchMapTool" | ||
neptune_model_id_yolo_osm_cls = "SMT-CLR-1" | ||
neptune_model_id_yolo_esri_cls = "SMT-CLR-3" | ||
neptune_model_id_yolo_osm_obj = "SMT-OSM-9" | ||
neptune_model_id_yolo_esri_obj = "SMT-ESRI-1" | ||
neptune_model_id_sam = "SMT-SAM-1" | ||
model_type_sam = "vit_b" | ||
esri-api-key = "" | ||
log-level = "INFO" | ||
# required configuration variables for docker compose setup | ||
# broker-url = "redis://redis:6379" | ||
# result-backend = "db+postgresql://smt:smt@postgres:5432" |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,3 +1,3 @@ | ||
#!/bin/bash | ||
# Run celery | ||
poetry run celery --app sketch_map_tool.tasks worker --beat --concurrency 4 --loglevel=INFO | ||
poetry run celery --app sketch_map_tool.tasks worker --beat --pool solo --loglevel=INFO |
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
Oops, something went wrong.