I am new to this, and trying to run the program based on the instructions given in this video: https://www.youtube.com/watch?v=uQ9PYhAsd6w. I made sure the files were of the proper format, and downloaded everything, but when I try to actually generate the voices I get the following error:
TypeError Traceback (most recent call last)
in <cell line: 2>()
1 # Generate speech with the custom voice.
----> 2 voice_samples, conditioning_latents = load_voice(CUSTOM_VOICE_NAME)
3 gen = tts.tts_with_preset(text, voice_samples=voice_samples, conditioning_latents=conditioning_latents,
4 preset=preset)
5 torchaudio.save(f'generated-{CUSTOM_VOICE_NAME}.wav', gen.squeeze(0).cpu(), 24000)
2 frames
/content/tortoise-tts/tortoise/utils/audio.py in load_wav_to_torch(full_path)
20 norm_fix = 1.
21 else:
---> 22 raise NotImplemented(f"Provided data dtype not supported: {data.dtype}")
23 return (torch.FloatTensor(data.astype(np.float32)) / norm_fix, sampling_rate)
24
I am new to this, and trying to run the program based on the instructions given in this video: https://www.youtube.com/watch?v=uQ9PYhAsd6w. I made sure the files were of the proper format, and downloaded everything, but when I try to actually generate the voices I get the following error:
TypeError Traceback (most recent call last) in <cell line: 2>()
1 # Generate speech with the custom voice.
----> 2 voice_samples, conditioning_latents = load_voice(CUSTOM_VOICE_NAME)
3 gen = tts.tts_with_preset(text, voice_samples=voice_samples, conditioning_latents=conditioning_latents,
4 preset=preset)
5 torchaudio.save(f'generated-{CUSTOM_VOICE_NAME}.wav', gen.squeeze(0).cpu(), 24000)
2 frames /content/tortoise-tts/tortoise/utils/audio.py in load_wav_to_torch(full_path) 20 norm_fix = 1. 21 else: ---> 22 raise NotImplemented(f"Provided data dtype not supported: {data.dtype}") 23 return (torch.FloatTensor(data.astype(np.float32)) / norm_fix, sampling_rate) 24
Can someone help me figure out what my issue is?