Load dvae to cpu

This commit is contained in:
James Betker 2022-02-23 21:21:45 -07:00
parent 81017d9696
commit e6824e398f

View File

@ -14,7 +14,7 @@ from utils.util import load_model_from_config
def load_speech_dvae():
return load_model_from_config("../experiments/train_diffusion_vocoder_22k_level.yml",
"dvae").cuda()
"dvae").cpu()
def wav_to_mel(wav, mel_norms_file='../experiments/clips_mel_norms.pth'):