Print experiment info
Some checks failed
s434704-predict-s426206-from-registry/pipeline/head There was a failure building this commit
s434704-training/pipeline/head This commit looks good
s434704-evaluation/pipeline/head This commit looks good

This commit is contained in:
Wojciech Jarmosz 2021-05-23 23:38:54 +02:00
parent d2014bef6a
commit 5d8fba3486

View File

@ -22,7 +22,7 @@ experiment = client.get_latest_versions(model_name, stages=None)
print(experiment) print(experiment)
with open(f'{experiment.source}/{input}', 'r') as file: with open(f'{experiment[0].source}/{input}', 'r') as file:
json_data = json.load(file) json_data = json.load(file)
print(model(torch.tensor(np.array(json_data['inputs'])).float())) print(model(torch.tensor(np.array(json_data['inputs'])).float()))