dr-costas / dnd-sed

Sound event detection with depthwise separable and dilated convolutions.
https://arxiv.org/abs/2002.00476
Other
52 stars 8 forks source link

Feature extraction #3

Closed hb194812 closed 3 years ago

hb194812 commented 3 years ago

Hi,I have obtained the TUT-SED Synthetic 2016 database, but I have encountered some problems in the feature extraction section. I would like to know the specific process of audio feature extraction. I would be very grateful if you could show me your code.

dr-costas commented 3 years ago

Hi, sorry for the delay.

You can find the features at the website of the dataset. There is a link for direct download of the features.

If there is some specific problem that you encounter, then please feel free to ask.

hb194812 commented 3 years ago

Thank you for your reply. I have already downloaded the features. You have mentioned that the features and the target values should be saved as separate files. How does this process work here? How do you match the feature file to the target value file? This is my email address: 2278763464@qq.com. I just want to briefly repeat the experiment. If possible, could you please send me the files that having the input values and the target values? Thank you so much!

dr-costas commented 3 years ago

The features and labels are numpy arrays, as far as I remember. Splitting those is simple, using existing numpy functionalities. The experiment can be reproduced fairly easy with the existing code at the repository and the online available features from the TUTSED Synthetic dataset.

Every sequence of input features, has a corresponding sequence of labels. You just have to load the numpy array that has the features and the labels, and then create to separate arrays. Then, split these arrays and save them with names that you want, and change the corresponding fields in the code so the code will be able to load them.

dr-costas commented 3 years ago

If there is not a problem in the code, I will close this issue since it is not referred to the code. Please feel free to create another issue if you encounter any problems with the code.