–> 141 audio = torch.from_numpy(audio)
143 if device is not None:
144 audio = audio.to(device)
RuntimeError: Numpy is not available
使用python3.9和torch时,自动安装了Numpy2.0,一直报错,
解决方法:pip install numpy==1.24.1
–> 141 audio = torch.from_numpy(audio)
143 if device is not None:
144 audio = audio.to(device)
RuntimeError: Numpy is not available
使用python3.9和torch时,自动安装了Numpy2.0,一直报错,
解决方法:pip install numpy==1.24.1