renaming
This commit is contained in:
parent
8f40b51282
commit
f6c6443000
@ -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.
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
2
test/fixtures/model_store.py
vendored
2
test/fixtures/model_store.py
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user