From 8a3820f6c3763a0d787d7a8439cdeb66904b12fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zar=C4=99ba?= Date: Sat, 29 May 2021 12:20:21 +0200 Subject: [PATCH] Zaktualizuj 'lab_09_predict_coop.py' --- lab_09_predict_coop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lab_09_predict_coop.py b/lab_09_predict_coop.py index a9858a3..2486c47 100644 --- a/lab_09_predict_coop.py +++ b/lab_09_predict_coop.py @@ -4,7 +4,7 @@ import pandas as pd from pprint import pprint from mlflow.tracking import MlflowClient -model_name = "s430705" +model_name = "s434804" model_version = 30 mlflow.set_tracking_uri("http://172.17.0.1:5000") @@ -20,7 +20,7 @@ version of choosen model, and then get path to model's files """ client = MlflowClient() -models_version = client.search_model_versions("name='s430705'") +models_version = client.search_model_versions("name='s434804'") path_to_input = models_version[-1].source with open(f'{path_to_input}/input_example.json', 'r') as datafile: