wrong artifact copied from mlflow
All checks were successful
s444354-training/pipeline/head This commit looks good
s444354-evaluation/pipeline/head This commit looks good

This commit is contained in:
Adrian Charkiewicz 2022-05-16 00:28:11 +02:00
parent 435f6ed36e
commit 10542bd9a2

View File

@ -2,7 +2,7 @@ import mlflow
import numpy as np import numpy as np
import json import json
logged_model = '/mlruns/20/80fe21a0804844088147d15a3cebb3e5/artifacts/lego' logged_model = '/mlruns/14/80fe21a0804844088147d15a3cebb3e5/artifacts/lego-model'
loaded_model = mlflow.pyfunc.load_model(logged_model) loaded_model = mlflow.pyfunc.load_model(logged_model)
with open(f'{logged_model}/input_example.json') as f: with open(f'{logged_model}/input_example.json') as f: