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

Finetuning causes Errors #934

Closed
vikraman22 opened this issue Apr 22, 2022 · 1 comment
Closed

Finetuning causes Errors #934

vikraman22 opened this issue Apr 22, 2022 · 1 comment

Comments

@vikraman22
Copy link

I'm trying to finetune the US English Model using this script finetune mentioned in the acoustic model adaptation documentation, but this causes a lot of errors like this one as they didn't specify the required files for finetuning.

Traceback (most recent call last): File "steps/nnet3/train_dnn.py", line 459, in main train(args, run_opts) File "steps/nnet3/train_dnn.py", line 216, in train "{1}".format(str(e), '{0}/configs'.format(args.dir))) Exception: KeyError 'model_left_context': Variables need to be defined in exp/nnet3/tdnn_sp_finetune/configs

How do I solve this error? Initially the configs directory was missing and it caused this error and I manually created the configs directory.

Exception: Either --trainer.input-model option should be supplied, and exist; or the exp/nnet3/tdnn_sp_finetune/configs directory should exist. exp/nnet3/tdnn_sp_finetune/configs is the output of make_configs.py
Is there any contents that I can look into so that I can add the required files prior to exceptions.

@nshmyrev
Copy link
Collaborator

Hi

It is the same issue as #185, no need to create a new issue about it, you can comment there. In general you need to understand what you are doing.

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

No branches or pull requests

2 participants