Errored when loading in perceptron.h5 (running code as is):
File "weights.py", line 49, in
weight0, bias0 = load_weights_from_keras_perceptron('perceptron.h5')
File "weights.py", line 33, in load_weights_from_keras_perceptron
bias = f['model_weights']['dense_1']['dense_1']['bias:0'][()]
KeyError: "Unable to open object (object 'model_weights' doesn't exist)"
Errored when loading in perceptron.h5 (running code as is):
File "weights.py", line 49, in
weight0, bias0 = load_weights_from_keras_perceptron('perceptron.h5')
File "weights.py", line 33, in load_weights_from_keras_perceptron
bias = f['model_weights']['dense_1']['dense_1']['bias:0'][()]
KeyError: "Unable to open object (object 'model_weights' doesn't exist)"