Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

That solved part of the issue, thanks #39

Open
DylanJosue opened this issue May 21, 2024 · 0 comments
Open

That solved part of the issue, thanks #39

DylanJosue opened this issue May 21, 2024 · 0 comments

Comments

@DylanJosue
Copy link

          That solved part of the issue, thanks

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant