w-hc/torch_audioset

How to process audio feature with yamnet?

bugczw opened this issue · 1 comments

In the file 'torch_audioset/data/torch_input_processing.py', I only find function called 'VGGishLogMelSpectrogram'. But I can't find the way to process audio feature for yamnet. Can you can give me an example to use pytorch Yamnet to classify audio?

it's the same input format between the VGGish and Yamnet, so it' s ok to use the VGGish function to preprocess for the yamnet