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

NameError: name 'amp' is not defined . File "train.py", line 407, in train_model #23

Closed
geni120 opened this issue Feb 7, 2022 · 3 comments

Comments

@geni120
Copy link

geni120 commented Feb 7, 2022

I am getting below error.

File "train.py", line 407, in train_model
optimizer, optimizer_cs_mi_net, optimizer_ps_mi_net, optimizer_cp_mi_net, scheduler, amp, epoch, checkpoint_dir, cfg)
NameError: name 'amp' is not defined

@Wendison
Copy link
Owner

Hi, please install apex: https://github.com/NVIDIA/apex

@geni120
Copy link
Author

geni120 commented Feb 10, 2022

Hi, please install apex: https://github.com/NVIDIA/apex

Thank you. It is working fine now. I am trying to train new 48kHz dataset. How to create vocoder for this new Dataset?

@Wendison
Copy link
Owner

Which vocoder do you want to use? You may follow the instructions of this repo to train your vocoder: https://github.com/kan-bayashi/ParallelWaveGAN

@Wendison Wendison closed this as completed Apr 2, 2022
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