chaojie / ComfyUI-AniPortrait

Apache License 2.0
244 stars 18 forks source link

Error occurred when executing AniPortraitRun #15

Closed Leehorywei closed 6 months ago

Leehorywei commented 6 months ago

loaded temporal unet's pretrained weights from E:\ComfyUI\models\pretrained_weights\stable-diffusion-v1-5\unet ... Load motion module params from E:\ComfyUI\models\pretrained_weights\motion_module.pth Loaded 453.20928M-parameter motion module WARNING: All log messages before absl::InitializeLog() is called are written to STDERR W0000 00:00:1711946325.829927 6924 face_landmarker_graph.cc:174] Sets FaceBlendshapesGraph acceleration to xnnpack by default. INFO: Created TensorFlow Lite XNNPACK delegate for CPU. !!! Exception during processing !!! Traceback (most recent call last): File "D:\anaconda3\envs\comfyui\lib\site-packages\librosa\core\audio.py", line 175, in load y, sr_native = soundfile_load(path, offset, duration, dtype) File "D:\anaconda3\envs\comfyui\lib\site-packages\librosa\core\audio.py", line 208, in __soundfile_load context = sf.SoundFile(path) File "D:\anaconda3\envs\comfyui\lib\site-packages\soundfile.py", line 658, in init__ self._file = self._open(file, mode_int, closefd) File "D:\anaconda3\envs\comfyui\lib\site-packages\soundfile.py", line 1216, in _open raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name)) soundfile.LibsndfileError: Error opening '': System error.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "E:\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "E:\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 "E:\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "E:\ComfyUI\custom_nodes\ComfyUI-AniPortrait\nodes.py", line 278, in run sample = prepare_audio_feature(audio_path, wav2vec_model_path=audio_infer_config['a2m_model']['model_path']) File "E:\ComfyUI\custom_nodes\ComfyUI-AniPortrait\src\utils\audio_util.py", line 23, in prepare_audio_feature input_value = data_preprocessor.extract_feature(wav_file) File "E:\ComfyUI\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:\anaconda3\envs\comfyui\lib\site-packages\librosa\core\audio.py", line 183, in load y, sr_native = audioread_load(path, offset, duration, dtype) File "", line 2, in __audioread_load File "D:\anaconda3\envs\comfyui\lib\site-packages\librosa\util\decorators.py", line 59, in wrapper return func(args, **kwargs) File "D:\anaconda3\envs\comfyui\lib\site-packages\librosa\core\audio.py", line 239, in audioread_load reader = audioread.audio_open(path) File "D:\anaconda3\envs\comfyui\lib\site-packages\audioread__init__.py", line 127, in audio_open return BackendClass(path) File "D:\anaconda3\envs\comfyui\lib\site-packages\audioread\rawread.py", line 59, in init__ self._fh = open(filename, 'rb') FileNotFoundError: [Errno 2] No such file or directory: ''