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

train model with train_unified_conformer_ctl.yaml erros #2430

Closed
junshipeng opened this issue Mar 21, 2024 · 2 comments
Closed

train model with train_unified_conformer_ctl.yaml erros #2430

junshipeng opened this issue Mar 21, 2024 · 2 comments
Labels

Comments

@junshipeng
Copy link

@YYTtyy
File "***/wenet/utils/executor.py", line 136, in cv
) if _dict['th_accuracy'] is not None else 0.0)
KeyError: 'th_accuracy

主要是asr_model_ctl.py文件中forward函数返回的loss_dict中没有"th_accuracy": acc_att,导致executor.py中执行错误
total_acc.append(_dict['th_accuracy'].item(
) if _dict['th_accuracy'] is not None else 0.0)

@xingchensong
Copy link
Member

可以直接提个PR修复

@YYTtyy
Copy link
Contributor

YYTtyy commented Mar 25, 2024

ok 我这两天看看哈~

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

No branches or pull requests

3 participants