I am loading a dataset from my drive. The audio file is there but is not being loaded using the torch audio load method. Can anyone help me?
speech_array, sampling_rate =torchaudio.load("/content/drive/MyDrive/EmulationAI/dataset/clips/common_voice_ur_31772098",format="mp3")
The trace of error is this:
RuntimeError Traceback (most recent call last)
<ipython-input-68-12c2e76341aa> in <module>
----> 1 speech_array, sampling_rate = torchaudio.load("/content/drive/MyDrive/EmulationAI/dataset/clips/common_voice_ur_31772098",format="mp3")
1 frames
/usr/local/lib/python3.7/dist-packages/torchaudio/backend/sox_io_backend.py in _fail_load(filepath, frame_offset, num_frames, normalize, channels_first, format)
27 format: Optional[str] = None,
28 ) -> Tuple[torch.Tensor, int]:
---> 29 raise RuntimeError("Failed to load audio from {}".format(filepath))
30
31
RuntimeError: Failed to load audio from /content/drive/MyDrive/EmulationAI/dataset/clips/common_voice_ur_31772098