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

WavLM Inference Error #29

Closed
bryant0918 opened this issue Jul 7, 2022 · 2 comments
Closed

WavLM Inference Error #29

bryant0918 opened this issue Jul 7, 2022 · 2 comments

Comments

@bryant0918
Copy link

I loaded the WaveLM Large model from the link provided

When trying to follow the code for loading the pretrained model for inference I get the following error:
cfg = WavLMConfig(checkpoint['cfg'])
KeyError: 'cfg'

It looks like this model does not have any 'cfg' key or 'model' key for that matter.

@Sanyuan-Chen
Copy link
Contributor

Hi @bryant0918 ,

I just downloaded the WaveLM Large model with the Azure Storage Link and the Google Drive Link, and both models seem fine and contain the 'cfg' and 'model' keys. Could you please try again with these two links?

@bryant0918
Copy link
Author

Thank you, I originally downloaded the microsoft/wavlm-large model from huggingface and it seems to be a little different.

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

No branches or pull requests

2 participants