Skip to content

FileNotFoundError: [Errno 2] No such file or directory: './results/temp.wav' #9

@rongweihe

Description

@rongweihe

mac 环境,直接运行报错

python3 inference.py --audio_path input.wav --img_path input.png
/bin/sh: ffmpeg: command not found
Traceback (most recent call last):
File "/Users/xxx/Documents/GitHub_Source/Audio2Head/inference.py", line 251, in
audio2head(parse.audio_path,parse.img_path,parse.model_path,parse.save_path)
File "/Users/xxx/Documents/GitHub_Source/Audio2Head/inference.py", line 125, in audio2head
audio_feature = get_audio_feature_from_audio(temp_audio)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xxx/Documents/GitHub_Source/Audio2Head/inference.py", line 99, in get_audio_feature_from_audio
sample_rate, audio = wavfile.read(audio_path)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/scipy/io/wavfile.py", line 647, in read
fid = open(filename, 'rb')
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: './results/temp.wav'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions