Skip to content

ValueError: shapes (512,) and (944,40000) not aligned: 512 (dim 0) != 944 (dim 0) #3

Description

@ron-weiner

Hey!

tnx for sharing and documenting your work!

i tried many different versions of that code and i always get stack on the same place with the command:
"samples = gensamples(sample_str, skips=2, batch_size=batch_size, k=10, temperature=1.)"
and the error:
"ValueError: shapes (512,) and (944,40000) not aligned: 512 (dim 0) != 944 (dim 0)"
and then i'm just stuck and can generate the headers :(

There is also another issue on:
"weights = load_weights(rnn_model, 'models/%s.hdf5'%FN1)"
with the same error that you have:
"failed to find layer timedistributed_1 in model"
the same as the one that you have (maybe it's on purpose)

pls help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions