From 817b1a7cbb8ec666e214493f4d1c1c01ec381048 Mon Sep 17 00:00:00 2001 From: Dominik Strzako Date: Sun, 23 May 2021 23:34:36 +0200 Subject: [PATCH] wiksa --- Zadanie_09_MLflow_Predict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zadanie_09_MLflow_Predict.py b/Zadanie_09_MLflow_Predict.py index c8e54da..beac2ca 100644 --- a/Zadanie_09_MLflow_Predict.py +++ b/Zadanie_09_MLflow_Predict.py @@ -2,7 +2,7 @@ import mlflow import pandas as pd model = mlflow.keras.load_model("my_model") -data = pd.read_json('my_model/input_example.json', orient='index') +data = pd.read_json('my_model/input_example.json', orient='split') print(data) print(model.predict(data)) \ No newline at end of file