Data.show_batch() not giving any output

(Dipam) #1

I am trying audio classification using spectrograms. I have converted all the sound files into spectrograms and created a data bunch. However when I do

data.show_batch(rows=3, figsize=(7,6))

it runs successfully without giving an output. What is wrong here?
I can see the individual images by doing

data.train_ds[0][0]

but data.show_batch() doesn’t give anything.

EDIT: learn.recorder.plot() also won’t display anything.

0 Likes

#2

Hello,

Can you show a little more of your code ? It’s hard to give you any advice without any error or more information.

I did a sound classification using spectograms and show_batch worked : https://colab.research.google.com/drive/1FV3WxfZMHrDzWlLxot_g68fFVITeT_A4

0 Likes

(Dipam) #3

Hey,
Thank you for responding. I haven’t committed that kernel but this is the kernel I was referring to for creating spectograms. If you look at his kernel (he hasn’t done data.show_batch()) there is no output for learn.recorder.plot().

0 Likes