Fix eval
This commit is contained in:
parent
9502e0755e
commit
5d172fbf7e
|
@ -170,8 +170,7 @@ class AudioDiffusionFid(evaluator.Evaluator):
|
||||||
torch.tensor([text_codes.shape[-1]], device=mel.device),
|
torch.tensor([text_codes.shape[-1]], device=mel.device),
|
||||||
mel_codes,
|
mel_codes,
|
||||||
torch.tensor([mel_codes.shape[-1]*mlc], device=mel.device),
|
torch.tensor([mel_codes.shape[-1]*mlc], device=mel.device),
|
||||||
text_first=True, raw_mels=None, return_latent=True,
|
text_first=True, raw_mels=None, return_latent=True)
|
||||||
clip_inputs=False)
|
|
||||||
return auto_latents
|
return auto_latents
|
||||||
|
|
||||||
def tts9_get_dvae_codes(self, mel, text):
|
def tts9_get_dvae_codes(self, mel, text):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user