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

whisper script does not work #2626

Open
200987299 opened this issue Sep 4, 2024 · 2 comments
Open

whisper script does not work #2626

200987299 opened this issue Sep 4, 2024 · 2 comments

Comments

@200987299
Copy link

loss_dict = executor.cv(model, cv_data_loader, configs)
File "/datasets_hdd/dxu/wenet/wenet/utils/executor.py", line 161, in cv
loss_dict["acc"] = sum(total_acc) / len(total_acc)
ZeroDivisionError: division by zero
return f(*args, **kwargs)
File "/datasets_hdd/dxu/wenet/examples/common_voice_yue_t2/whisper/wenet/bin/train.py", line 162, in main
loss_dict = executor.cv(model, cv_data_loader, configs)
File "/datasets_hdd/dxu/wenet/wenet/utils/executor.py", line 161, in cv
loss_dict["acc"] = sum(total_acc) / len(total_acc)
ZeroDivisionError: division by zero

That is the error I got, I tried two datasets but they all gives me the same error. BTW, the "input_dim" parameter is missing from the default config file.

Please let me know what I did wrong or maybe there is a bug somewhere?

bests

@turinaf
Copy link

turinaf commented Sep 10, 2024

I'm also facing this error

@turinaf
Copy link

turinaf commented Oct 4, 2024

@200987299 were you able to solve?

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