File size: 498 Bytes
00b4479
7d6e00c
c05e7c7
 
fa76f5f
7d6e00c
dcc25fd
 
7d6e00c
fa76f5f
6f2f547
dcc25fd
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Get machine learning predictions from geodata raster images"""
from aws_lambda_powertools import Logger
# not used here but contextily_tile is imported in src.io.tms2geotiff
from contextily import tile as contextily_tile
from pathlib import Path

from src.utilities.constants import SERVICE_NAME


PROJECT_ROOT_FOLDER = Path(globals().get("__file__", "./_")).absolute().parent.parent
MODEL_FOLDER = Path(PROJECT_ROOT_FOLDER / "machine_learning_models")
app_logger = Logger(service=SERVICE_NAME)