more sampling fixes
This commit is contained in:
parent
5d172fbf7e
commit
f31a333c4f
|
@ -191,7 +191,7 @@ class AudioDiffusionFid(evaluator.Evaluator):
|
|||
|
||||
gen_wav = self.local_modules['vocoder'].inference(gen_mel)
|
||||
real_dec = self.local_modules['vocoder'].inference(univnet_mel)
|
||||
return gen_wav.float(), real_dec, SAMPLE_RATE
|
||||
return gen_wav.float(), real_dec, gen_mel, univnet_mel, SAMPLE_RATE
|
||||
|
||||
def perform_diffusion_ctc(self, audio, codes, text):
|
||||
SAMPLE_RATE = 24000
|
||||
|
|
Loading…
Reference in New Issue
Block a user