ium_434695/predict434788.py

7 lines
173 B
Python
Raw Normal View History

2021-05-23 23:02:17 +02:00
import mlflow
import pandas as pd
model = mlflow.keras.load_model("my_model")
data = pd.read_json('my_model/input_example.json', orient='split')
print(model.predict(data))