seamless_communication icon indicating copy to clipboard operation
seamless_communication copied to clipboard

RuntimeError: torchaudio_sox::save_audio_file() Expected a value of type 'str' for argument '_0' but instead found type 'PosixPath'.

Open liuhao0813 opened this issue 8 months ago • 0 comments

run: m4t_predict --task S2ST --tgt_lang cmn --src_lang eng --model_name seamlessM4T_v2_large --output_path "/Users/liuhao/ddd.mp3" ./test.mp3

save file : RuntimeError: torchaudio_sox::save_audio_file() Expected a value of type 'str' for argument '_0' but instead found type 'PosixPath'.

python 3.12 macos 12.7.5 CPU inter

liuhao0813 avatar Jun 12 '24 14:06 liuhao0813