martifact
All checks were successful
s444417-training/pipeline/head This commit looks good

This commit is contained in:
s444417 2022-05-15 16:55:44 +02:00
parent a08f50d333
commit 45b70cce36

View File

@ -2,7 +2,7 @@ import mlflow
import numpy as np import numpy as np
import json import json
logged_model = 'mlrunsArtifact/14/80fe21a0804844088147d15a3cebb3e5/artifacts/lego-model' logged_model = 'mlrunsArtifact/1/6b2323cf51794581bf1e2f6d060d50f6/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: