Replies: 1 comment 2 replies
-
We haven't changed the support of num_classes. Are you using a Nemo file ? Could you print out the stack trace ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I recently updated to a later version (1.6rc) of NeMo for building an RNNT model, but then I realized I can’t load the older conformer CTC models I had built with 1.3. The error is from
nemo.collections.asr.modules.conv_asr.ConvASRDecoder
sayinglen(vocabulary)
is different fromnum_classes
. In my case, the models I’ve tried,len(vocabulary) == num_classes +2
, I think it’s because previously<unk>
and_
are not counted in num_classes? I could be wrong. But since when has this changed and why? I went to see the def of this class, the checking ofnum_classes == len(vocabulary)
has always been there since version 1.3, so I haven’t been able to figure out what actually caused the incompatibility.Beta Was this translation helpful? Give feedback.
All reactions