Change flavor of model prediction
Some checks failed
s434704-predict-s426206/pipeline/head There was a failure building this commit

This commit is contained in:
Wojciech Jarmosz 2021-05-23 17:04:25 +02:00
parent 31201b169b
commit 724679e783

View File

@ -9,7 +9,7 @@ arguments = sys.argv[1:]
input = str(arguments[0])
model = mlflow.pytorchg.load_model("my_model")
model = mlflow.pytorch.load_model("my_model")
with open('my_model/{input}', 'r') as file:
json_data = json.load(file)['inputs']