Update 'predict_registry.py'
This commit is contained in:
parent
931665322c
commit
88d6fc430c
@ -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)}')
|
||||||
|
Loading…
Reference in New Issue
Block a user