Module 'torchaudio.transforms' has no attribute 'DownmixMono'

Hi,
I’m using torchaudio v0.3.1 and I’m getting this error while I’m running torchaudio official example in google colab,

module 'torchaudio.transforms' has no attribute 'DownmixMono'

https://pytorch.org/tutorials/beginner/audio_classifier_tutorial.html?highlight=audio
https://colab.research.google.com/github/pytorch/tutorials/blob/gh-pages/_downloads/audio_classifier_tutorial.ipynb

DownmixMono has been deprecated, see breaking changes.

1 Like

If you open to degrade, this works to me.

conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=10.0 torchaudio=0.2.0 -c pytorch

1 Like