Zejun-Yang/AniPortrait

Error occurred when executing AniPortraitRun: [Errno 2] No such file or directory: ''

popojiang1 opened this issue · 1 comments

Error occurred when executing AniPortraitRun:

[Errno 2] No such file or directory: ''

File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-AniPortrait\nodes.py", line 280, in run
sample = prepare_audio_feature(audio_path, wav2vec_model_path=audio_infer_config['a2m_model']['model_path'])
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-AniPortrait\src\utils\audio_util.py", line 23, in prepare_audio_feature
input_value = data_preprocessor.extract_feature(wav_file)
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-AniPortrait\src\utils\audio_util.py", line 15, in extract_feature
speech_array, sampling_rate = librosa.load(audio_path, sr=self._sampling_rate)
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\librosa\core\audio.py", line 184, in load
y, sr_native = __audioread_load(path, offset, duration, dtype)
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\librosa\util\decorators.py", line 59, in __wrapper
return func(*args, **kwargs)
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\librosa\core\audio.py", line 240, in _audioread_load
reader = audioread.audio_open(path)
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\audioread_init
.py", line 127, in audio_open
return BackendClass(path)
File "D:\AI\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\audioread\rawread.py", line 59, in init
self._fh = open(filename, 'rb')

According to the error log, this is not our official implement but a a ComfyUI project. So we are unable to analyze the error.