Cirillic characters support.
capipollo opened this issue · 5 comments
capipollo commented
Good morning, assuming that this software is reliable and accurate, is it possible to add Cyrillic morse characters as well? I tried to do this in the morse.py matrix, but not being able to program in python i got some errors while executing the routine. Thank you very much!
jh4xsy commented
I think that after editing morse.py, you must update the model file by running main.py.
capipollo commented
Good morning,
I am not able to program in Python, I only know a little bit of Visual
Basic. Modifying the Morse.py routine, adding morse characters I get the
following error:
RuntimeError: Error(s) in loading state_dict for Net:
size mismatch for dense5.weight: copying a param with shape
torch.Size([43, 256]) from checkpoint, the shape in current model is
torch.Size([47, 256]).
size mismatch for dense5.bias: copying a param with shape
torch.Size([43]) from checkpoint, the shape in current model is
torch.Size([47]).
Thank you very much.
Il giorno lun 2 gen 2023 alle ore 15:15 Hiroshi Iwamoto <
***@***.***> ha scritto:
… I think that after editing morse.py, you must update the model file by
running main.py.
—
Reply to this email directly, view it on GitHub
<#13 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXGSPIPAALIE4LQ2WDCVSGLWQLPIXANCNFSM6AAAAAATL32KQY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
capipollo commented
Good morning,
sorry, surely I was not precise in my explanation: my purpose is not to
replace Latin characters with Cyrillic characters but to add characters;
the Cyrillic alphabet consists of 32 letters unlike the Latin alphabet
which consists of 26 letters.
I look forward to a kind reply.
Il giorno mar 3 gen 2023 alle ore 08:51 Edgar Allan Poe <
***@***.***> ha scritto:
… Good morning,
I am not able to program in Python, I only know a little bit of Visual
Basic. Modifying the Morse.py routine, adding morse characters I get the
following error:
RuntimeError: Error(s) in loading state_dict for Net:
size mismatch for dense5.weight: copying a param with shape
torch.Size([43, 256]) from checkpoint, the shape in current model is
torch.Size([47, 256]).
size mismatch for dense5.bias: copying a param with shape
torch.Size([43]) from checkpoint, the shape in current model is
torch.Size([47]).
Thank you very much.
Il giorno lun 2 gen 2023 alle ore 15:15 Hiroshi Iwamoto <
***@***.***> ha scritto:
> I think that after editing morse.py, you must update the model file by
> running main.py.
>
> —
> Reply to this email directly, view it on GitHub
> <#13 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AXGSPIPAALIE4LQ2WDCVSGLWQLPIXANCNFSM6AAAAAATL32KQY>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
jh4xsy commented
NO need to program.
Execute main.py and wait LOSS goes around 0.2-0.3, then you will get new your own model.
capipollo commented
Good evening,
your suggestion was successful! I was able to add the missing characters
and rebuilt the model.
Thank you very much!
Il giorno mar 3 gen 2023 alle ore 12:49 Hiroshi Iwamoto <
***@***.***> ha scritto:
… NO need to program.
Execute main.py and wait LOSS goes around 0.2-0.3, then you will get new
your own model.
—
Reply to this email directly, view it on GitHub
<#13 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXGSPIN53JVJD24FZMPIEU3WQQG4BANCNFSM6AAAAAATL32KQY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>