Update 'predict_registry.py'

This commit is contained in:
Kacper Dudzic 2022-05-14 14:38:32 +02:00
parent 931665322c
commit 88d6fc430c

View File

@ -9,7 +9,7 @@ with open(f'{registry_path}/input_example.json') as f:
input_example_data = json.load(f) input_example_data = json.load(f)
print(input_example_data) print(input_example_data)
input_example = np.array(input_example_data['inputs']) # input_example = np.array(input_example_data['inputs']).reshape(-1, 8) #
print(f'Input example: {input_example}') print(f'Input example: {input_example}')
print(f'Model prediction: {model.predict(input_example)}') print(f'Model prediction: {model.predict(input_example)}')