I am working on the problem of audio classification. For this purpose, I am following an online tutorial to extract features from the urban sound dataset here.
Urban sound classification. I have downloaded the complete dataset from:
Urban sound dataset.
Everything goes well till I try to plot the waves using the function:
plot_waves(sound_names,sub_raw)
I get this error message:

I thought that the data being fed is too large for the jupyter notebook to handle. So, I decreased the data size but I am unable to figure out my mistake.