I want to get the percentage of the each letter(not only the output with the highest percentage) #22
-
❓ Questions and HelpI am using silero models in torch very useful(Thank you for that!) But I want to get the percentage of the each letter in each position. In the code below, I think I can get what I want by using "output". `test_files = glob('/gdrive/My Drive/Colab Notebooks/34668_20200113220653_0120.wav') output = model(input) But I don't know how to do it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, If I understand you correctly you can just use the model output as-is and / or write you own decoder. The shape would be something like batch * frames * tokens. A list of tokens is in the json. |
Beta Was this translation helpful? Give feedback.
-
Thank YOU! |
Beta Was this translation helpful? Give feedback.
Hi,
If I understand you correctly you can just use the model output as-is and / or write you own decoder.
The shape would be something like batch * frames * tokens. A list of tokens is in the json.