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

This commit is contained in:
Wojciech Jarmosz 2021-05-23 23:28:29 +02:00
parent 797e893eda
commit d2014bef6a

View File

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