Change flavor of model prediction
Some checks failed
s434704-predict-s426206/pipeline/head There was a failure building this commit
Some checks failed
s434704-predict-s426206/pipeline/head There was a failure building this commit
This commit is contained in:
parent
1b9f078196
commit
31201b169b
@ -9,7 +9,7 @@ arguments = sys.argv[1:]
|
|||||||
|
|
||||||
input = str(arguments[0])
|
input = str(arguments[0])
|
||||||
|
|
||||||
model = mlflow.keras.load_model("my_model")
|
model = mlflow.pytorchg.load_model("my_model")
|
||||||
|
|
||||||
with open('my_model/{input}', 'r') as file:
|
with open('my_model/{input}', 'r') as file:
|
||||||
json_data = json.load(file)['inputs']
|
json_data = json.load(file)['inputs']
|
||||||
|
Loading…
Reference in New Issue
Block a user