Hi, when running build_all_stats.py, there is the following error: TypeError: 'AudioMetaData' object is not subscriptable. Torchaudio changed this object, so you should either apply try, except to handle this difference or use older version of torchaudio in your environment.yaml. Here is the code to fix this issue without using older torchaudioversion:
Add the below funcion in the libri-light/data_preparation/metadata_completion/utils.py and use it in parts of code when you use torch.info().
Hi, when running build_all_stats.py, there is the following error:
TypeError: 'AudioMetaData' object is not subscriptable
. Torchaudio changed this object, so you should either apply try, except to handle this difference or use older version of torchaudio in your environment.yaml. Here is the code to fix this issue without using older torchaudioversion: Add the below funcion in thelibri-light/data_preparation/metadata_completion/utils.py
and use it in parts of code when you use torch.info().