This commit is contained in:
Matthias Bisping 2022-04-25 12:18:47 +02:00
parent 8f40b51282
commit f6c6443000
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ service:
logging_level: $LOGGING_LEVEL_ROOT|INFO # Logging level for service logger
verbose: $VERBOSE|True # Service prints document processing progress to stdout
batch_size: $BATCH_SIZE|16 # Number of images in memory simultaneously
run_id: $RUN_ID|fabfb1f192c745369b88cab34471aba7 # The ID of the mlflow run to load the service_estimator from
mlflow_run_id: $MLFLOW_RUN_ID|fabfb1f192c745369b88cab34471aba7 # The ID of the mlflow run to load the service_estimator from
# These variables control filters that are applied to either images, image metadata or service_estimator predictions.

View File

@ -15,7 +15,7 @@ os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"
def load_pipeline(**kwargs):
model_loader = get_mlflow_model_loader(MLRUNS_DIR)
model_identifier = CONFIG.service.run_id
model_identifier = CONFIG.service.mlflow_run_id
pipeline = Pipeline(model_loader, model_identifier, **kwargs)

View File

@ -46,7 +46,7 @@ def model_loader(database_connector):
def mlflow_run_id():
from image_prediction.config import CONFIG
return CONFIG.service.run_id
return CONFIG.service.mlflow_run_id
@pytest.fixture