librosa.util.exceptions.ParameterError: Invalid shape for monophonic audio: ndim=2, shape=(172972, 2)

I was following this tutorial: https://data-flair.training/blogs/python-mini-project-speech-emotion-recognition/ And used their dataset which they took from the RAVDESS Dataset and lowered the sample rate of them. I can train using this data easily. But when I use Original data from here: https://zenodo.org/record/1188976 Just “Audio_Speech_Actors_01-24.zip” and try to train model it gives me below error: Traceback (most recent…

Details

check if substring exist in string

I want to check if a sub string is included in a string, but the sub string contains a number, this number can change. I used RegExp but it’s not working let url = “http://localhost:8080/api/issue/board/537/sprint”; url.includes(‘/issue/board/537/sprint’); // true the value 537 can change var reg = new RegExp(‘^[0-9]+$’); url.includes(‘/issue/board/’ + reg +’/sprint’); // false

Details