From b0a61acb3c154161211768a466f698855d4be6a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zar=C4=99ba?= Date: Thu, 27 May 2021 14:54:16 +0200 Subject: [PATCH] Zaktualizuj 'lab_09_predict_coop.py' --- lab_09_predict_coop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab_09_predict_coop.py b/lab_09_predict_coop.py index 1c3e272..0374c41 100644 --- a/lab_09_predict_coop.py +++ b/lab_09_predict_coop.py @@ -14,7 +14,7 @@ model = mlflow.pyfunc.load_model( ) client = MlflowClient() models_version = client.search_model_versions("name='s430705'") -print(type(models_version)) +print(models_version[-1]) with open('/tmp/mlruns/0/6be4f90846214df8913a553bc53b1019/artifacts/movies_imdb2/input_example.json', 'r') as datafile: data = json.load(datafile)