hkveeranki / speech-emotion-recognition

Speaker independent emotion recognition
http://speechemotionrecognition.repos.hkveeranki.com/
MIT License
315 stars 100 forks source link

unknown data #29

Open SaiRamGupta opened 3 years ago

SaiRamGupta commented 3 years ago

FileNotFoundError Traceback (most recent call last)

in 22 23 if __name__ == "__main__": ---> 24 ml_example() in ml_example() 17 filename = './dataset/Neutral/srg1.wav' 18 print('prediction', model.predict_one( ---> 19 get_feature_vector_from_mfcc(filename, flatten=to_flatten)), 20 'Actual 3') 21 ~\SERproject\Code\speechemotionrecognition\utilities.py in get_feature_vector_from_mfcc(file_path, flatten, mfcc_len) 31 numpy.ndarray: feature vector of the wav file made from mfcc. 32 """ ---> 33 fs, signal = wav.read(file_path) 34 s_len = len(signal) 35 # pad the signals to have same size if lesser than required c:\users\srg\appdata\local\programs\python\python39\lib\site-packages\scipy\io\wavfile.py in read(filename, mmap) 637 mmap = False 638 else: --> 639 fid = open(filename, 'rb') 640 641 try: FileNotFoundError: [Errno 2] No such file or directory: './dataset/Neutral/srg1.wav' ​ why this project does not recognising unknown speech data? please help me.... i want to give my own data.... not emodb dataset....
SaiRamGupta commented 3 years ago

FileNotFoundError is occuring ... when i gave my speech data to that code..... please help me..... please respond fast...

SaiRamGupta commented 3 years ago

how to insert my own data in it to recognize the emotions? help me fast