Zaktualizuj 'lab_09_predict_coop.py'
All checks were successful
s430705-evaluation/pipeline/head This commit looks good
s430705-training/pipeline/head This commit looks good

This commit is contained in:
Michał Zaręba 2021-05-27 14:59:20 +02:00
parent 0cab49d9d0
commit 8bd2593486

View File

@ -21,7 +21,7 @@ version of choosen model, and then get path to model's files
client = MlflowClient()
models_version = client.search_model_versions("name='s430705'")
path_to_input = models_version[-1]["source"]
path_to_input = models_version[-1].source
with open(f'{path_to_input}/input_example.json', 'r') as datafile:
data = json.load(datafile)