Print experiment info
Some checks failed
s434704-predict-s426206-from-registry/pipeline/head There was a failure building this commit

This commit is contained in:
Wojciech Jarmosz 2021-05-23 23:14:10 +02:00
parent acb8e81b4f
commit 797e893eda

View File

@ -18,9 +18,9 @@ model_name = "s426206"
input = str(arguments[0]) input = str(arguments[0])
model = mlflow.pyfunc.load_model( experiment = client.get_latest_versions(model_name, stages=None)
model_uri=f"models:/{model_name}/{model_version}"
) print(experiment)
with open(f'{model_name}/{input}', 'r') as file: with open(f'{model_name}/{input}', 'r') as file:
json_data = json.load(file) json_data = json.load(file)