qiuqiangkong / audioset_tagging_cnn

MIT License
1.32k stars 249 forks source link

code to plot "log spectrogram"+class probabilities #33

Open gewueh opened 3 years ago

gewueh commented 3 years ago

Hi I wanted to ask if you could please provide me with the code for your visualization. I would really like to reproduce your plot with other audios.

In detail: The visualization of sound event detection with the log spectrogram on the top and the class probabilities in the bottom. The image can be found in resources/sed_R9_ZSCveAHg_7s.png

That would be really great! Thanks in advance. Lydia

qiuqiangkong commented 3 years ago

The plot code is here: https://github.com/qiuqiangkong/audioset_tagging_cnn/blob/master/pytorch/inference.py#L149