-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Invalid file: {'waveform': tensor #8
Comments
大佬人的微信群,二维码过期了,不是能加入咨询 |
Same Issue! |
any solution found? with older comfyui it worked but with later comfyui i got the same error? what is installed in the libraries so this wont work anymore? any solution? |
any solution? @dancemanUK or @iEddie-cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Loading model...
Computing speaker latents...
!!! Exception during processing!!! Invalid file: {'waveform': tensor([[[ 0.0042, 0.0042, 0.0044, ..., -0.1867, -0.1892, -0.1906],
[-0.0138, -0.0141, -0.0141, ..., -0.2047, -0.2070, -0.2084]]]), 'sample_rate': 48000}
Traceback (most recent call last):
File "F:\ComfyUI_windows_portable_cu121\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "F:\ComfyUI_windows_portable_cu121\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "F:\ComfyUI_windows_portable_cu121\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "F:\ComfyUI_windows_portable_cu121\ComfyUI\custom_nodes\ComfyUI-XTTS\nodes.py", line 252, in get_wav_tts
gpt_cond_latent, speaker_embedding = model.get_conditioning_latents(audio_path=[audio])
File "F:\ComfyUI_windows_portable_cu121\python_embeded\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "F:\ComfyUI_windows_portable_cu121\ComfyUI\custom_nodes\ComfyUI-XTTS\TTS\tts\models\xtts.py", line 357, in get_conditioning_latents
audio = load_audio(file_path, load_sr)
File "F:\ComfyUI_windows_portable_cu121\ComfyUI\custom_nodes\ComfyUI-XTTS\TTS\tts\models\xtts.py", line 73, in load_audio
audio, lsr = torchaudio.load(audiopath)
File "F:\ComfyUI_windows_portable_cu121\python_embeded\lib\site-packages\torchaudio_backend\utils.py", line 205, in load
return backend.load(uri, frame_offset, num_frames, normalize, channels_first, format, buffer_size)
File "F:\ComfyUI_windows_portable_cu121\python_embeded\lib\site-packages\torchaudio_backend\soundfile.py", line 27, in load
return soundfile_backend.load(uri, frame_offset, num_frames, normalize, channels_first, format)
File "F:\ComfyUI_windows_portable_cu121\python_embeded\lib\site-packages\torchaudio_backend\soundfile_backend.py", line 221, in load
with soundfile.SoundFile(filepath, "r") as file_:
File "F:\ComfyUI_windows_portable_cu121\python_embeded\lib\site-packages\soundfile.py", line 658, in init
self._file = self._open(file, mode_int, closefd)
File "F:\ComfyUI_windows_portable_cu121\python_embeded\lib\site-packages\soundfile.py", line 1212, in _open
raise TypeError("Invalid file: {0!r}".format(self.name))
TypeError: Invalid file: {'waveform': tensor([[[ 0.0042, 0.0042, 0.0044, ..., -0.1867, -0.1892, -0.1906],
[-0.0138, -0.0141, -0.0141, ..., -0.2047, -0.2070, -0.2084]]]), 'sample_rate': 48000}
The text was updated successfully, but these errors were encountered: