Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
323 views
in Technique[技术] by (71.8m points)

soundfile - torchaudio error_torchaudio C++ extension is not available.,

when i import torchaudio and torc, i face below errors! I guess it is related with the version and set some interface setting, though i don't well get a grip how to do it..

So please give me a kind help about how to solve these problems

  1. C:ProgramDataAnaconda3libsite-packagesorchaudioextensionextension.py:14: UserWarning: torchaudio C++ extension is not available. warnings.warn('torchaudio C++ extension is not available.')

  2. how to set this torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = False and what does it mean 'before setting the backend to "soundfile"'??

C:ProgramDataAnaconda3libsite-packagesorchaudioackendutils.py:63: UserWarning: The interface of "soundfile" backend is planned to change in 0.8.0 to match that of "sox_io" backend and the current interface will be removed in 0.9.0. To use the new interface, do torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = False before setting the backend to "soundfile". Please refer to https://github.com/pytorch/audio/issues/903 for the detail. warnings.warn(

question from:https://stackoverflow.com/questions/65660406/torchaudio-error-torchaudio-c-extension-is-not-available

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...