I am trying to print the shape of labels I am getting this error:
print("shape of waves array: ",np.array(all_wave).shape)print("shape of labels array: ",np.array(all_label).shape)#Inspecting random sampletime = np.linspace(0, len(signal - 1) / fs,len(signal - 1))plt.plot(time,np.array(all_wave)[2000])print(np.array(all_label)[2000])ipd.Audio(np.array(all_wave)[2000], rate =sr)
Here is my error
TypeError Traceback (most recent call last)<ipython-input-38-7c43303397f6> in <cell line: 5>() 3 4 #Inspecting random sample----> 5 time = np.linspace(0, len(signal - 1) / fs, len(signal - 1)) 6 plt.plot(time,np.array(all_wave)[2000]) 7 print(np.array(all_label)[2000])TypeError: unsupported operand type(s) for -: 'module' and 'int'