pytorchupandrunning icon indicating copy to clipboard operation
pytorchupandrunning copied to clipboard

add numpy as np import

Open NickLalo opened this issue 4 years ago • 0 comments

added import of numpy as np for converting our audio wav forms to images. librosa.power_to_db's keyword argument ref uses callable function np.max. Without this, the code will error out with; "name 'np' is not defined"

NickLalo avatar Mar 16 '20 03:03 NickLalo