Clean prints
All checks were successful
s434704-predict-s426206/pipeline/head This commit looks good
All checks were successful
s434704-predict-s426206/pipeline/head This commit looks good
This commit is contained in:
parent
c221c48a4a
commit
091c794e5e
@ -16,7 +16,4 @@ model = mlflow.pytorch.load_model("my_model")
|
|||||||
with open(f'my_model/{input}', 'r') as file:
|
with open(f'my_model/{input}', 'r') as file:
|
||||||
json_data = json.load(file)
|
json_data = json.load(file)
|
||||||
|
|
||||||
print(json_data)
|
|
||||||
print(json_data['inputs'])
|
|
||||||
|
|
||||||
print(model(torch.tensor(np.array(json_data['inputs'])).float()))
|
print(model(torch.tensor(np.array(json_data['inputs'])).float()))
|
||||||
|
Loading…
Reference in New Issue
Block a user