Open kgoba opened 1 month ago
You can temporary fix this by casting the path to str.
path = str(path)
You can temporary fix this by casting the path to str.
path = str(path)
Also be careful that you need to actually do the same for torchaudio::sox_io_save_audio_file()
too, otherwise you waste your time and won't be able to save the conversion.
torchaudio_sox::load_audio_file()
seems to expect str, not PosixPath (not sure why though):Environment: Mac OS Ventura, python 3.10, venv