2021-05-23 21:42:57 +02:00
|
|
|
import mlflow
|
2021-05-23 22:19:08 +02:00
|
|
|
import pandas as pd
|
|
|
|
|
|
|
|
model = mlflow.keras.load_model("my_model")
|
|
|
|
data = pd.read_json('my_model/input_example.json', orient='index')
|
2021-05-23 21:42:57 +02:00
|
|
|
|
|
|
|
print(data)
|
|
|
|
print(model.predict(data))
|