Wendison / VQMIVC

Official implementation of VQMIVC: One-shot (any-to-any) Voice Conversion @ Interspeech 2021 + Online playing demo!
MIT License
340 stars 55 forks source link

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

Closed geni120 closed 2 years ago

geni120 commented 2 years ago

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 commented 2 years ago

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

geni120 commented 2 years ago

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 commented 2 years ago

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