You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However now I run into this problem:
`=========
Total params: 2,248
Trainable params: 2,248
Non-trainable params: 0
Traceback (most recent call last):
File "model.py", line 300, in
main(depth, train_mode)
File "model.py", line 277, in main
model = create_network(depth)
File "model.py", line 29, in create_network
model.load_weights(str(artist + ".rap"))
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 2708, in load_weights
self.load_weights_from_hdf5_group(f)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 2781, in load_weights_from_hdf5_group
' elements.')
ValueError: Layer #0 (named "lstm_1" in the current model) was found to correspond to layer lstm_1 in the save file. However the new layer lstm_1 expects 12 weights, but the saved weights have 3 elements.
However now I run into this problem:
`=========
Total params: 2,248
Trainable params: 2,248
Non-trainable params: 0
Traceback (most recent call last):
File "model.py", line 300, in
main(depth, train_mode)
File "model.py", line 277, in main
model = create_network(depth)
File "model.py", line 29, in create_network
model.load_weights(str(artist + ".rap"))
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 2708, in load_weights
self.load_weights_from_hdf5_group(f)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 2781, in load_weights_from_hdf5_group
' elements.')
ValueError: Layer #0 (named "lstm_1" in the current model) was found to correspond to layer lstm_1 in the save file. However the new layer lstm_1 expects 12 weights, but the saved weights have 3 elements.
Originally posted by @littlevoices in #20 (comment)
The text was updated successfully, but these errors were encountered: