tzaiyang / SpeechEmoRec

Speech Emotion Recognition Using Deep Convolutional Neural Network and Discriminant Temporal Pyramid Matching
50 stars 18 forks source link

Running python svm.py error! #4

Closed zhjy8827 closed 5 years ago

zhjy8827 commented 5 years ago

Hello,Your code is great!But, I am getting an error when I run the last step. python svm.py display: FileNotFoundError: [Errno 2] No such file or directory: '/home/ldm/datasets/tzaiyang/EMODB/03/train_utterance.npy'

Excuse me, where is the problem?

zhjy8827 commented 5 years ago

I should have no missing steps ..

tzaiyang commented 5 years ago

@zhjy8827 Maybe you should follow Feature Extracting again,then be sure there is no error to show and train_utterance.npy will be saved on your path(/home/ldm/datasets/tzaiyang/EMODB/03/)

Hope it works for you!

zhjy8827 commented 5 years ago

sry. I found the problem. In dtpm.py need to use 175th and 186th lines of code. for i in range(9,10): ——> for i in range(0,len(DataDir.val_speaker)): :) @tzaiyang

tzaiyang commented 5 years ago

@zhjy8827 Oh,Sorry,I forgot it. I comment that line for the convenience of debugging…… o(╯□╰)o