Hi,
I'm trying to do an inference on the latest model, but I get this error:
size mismatch for embedding.weight: copying a param with shape torch.Size([61, 256]) from checkpoint, the shape in current model is torch.Size([256, 256]).
I read all the related posts but nothing helped. I am running the notebook on fix_db7f3d3. Changing the num_chars to 61 works, but the result is quite bad(just some random noise).
Also I can't run all examples using num_chars=61 due to the lack of embedding for some characters.
What can I do in order to make it work? Thank you!
Hi,
I'm trying to do an inference on the latest model, but I get this error:
size mismatch for embedding.weight: copying a param with shape torch.Size([61, 256]) from checkpoint, the shape in current model is torch.Size([256, 256]).
I read all the related posts but nothing helped. I am running the notebook on fix_db7f3d3. Changing the num_chars to 61 works, but the result is quite bad(just some random noise).
Also I can't run all examples using num_chars=61 due to the lack of embedding for some characters.
What can I do in order to make it work? Thank you!