Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wav2letter model not running on flashlight #636

Open
samin9796 opened this issue Jun 15, 2021 · 2 comments
Open

wav2letter model not running on flashlight #636

samin9796 opened this issue Jun 15, 2021 · 2 comments
Labels
question Further information is requested

Comments

@samin9796
Copy link

I trained an ASR model using the wav2letter toolkit and now trying to decode using flashlight. However, I am getting the following error:

E0615 18:37:35.549235 47040 Serializer.h:80 Error while loading "/home/eusl/Desktop/shared_mount/SAMIN/wav2letter/all_models/clean_subakko_model/001_model_clean_subakko_val.lst.bin": Trying to load an unregistered polymorphic type (w2l::ConnectionistTemporalClassificationCriterion).
Make sure your type is registered with CEREAL_REGISTER_TYPE and that the archive you are using was included (and registered with CEREAL_REGISTER_ARCHIVE) prior to calling CEREAL_REGISTER_TYPE.
If your type is already registered and you still see this error, you may need to use CEREAL_REGISTER_DYNAMIC_INIT.

terminate called after throwing an instance of 'cereal::Exception'
  what():  Trying to load an unregistered polymorphic type (w2l::ConnectionistTemporalClassificationCriterion).
Make sure your type is registered with CEREAL_REGISTER_TYPE and that the archive you are using was included (and registered with CEREAL_REGISTER_ARCHIVE) prior to calling CEREAL_REGISTER_TYPE.
If your type is already registered and you still see this error, you may need to use CEREAL_REGISTER_DYNAMIC_INIT.

How to solve the issue?

@samin9796 samin9796 added the question Further information is requested label Jun 15, 2021
@tlikhomanenko
Copy link
Contributor

what versions of w2l and fl are you using? When we moved w2l codebase into fl the namespacing of some blocks were changed so you need to convert models into correct namespacing now to be able to decode with new versions of fl.

See #524 for model convertor.

@ggsddu7
Copy link

ggsddu7 commented Sep 30, 2022

@tlikhomanenko #524 can't build;
there is a w2l 0.2 ==> 0.3x solution now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants