Skip to content

unknown data #29

@SaiRamGupta

Description

@SaiRamGupta

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....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions