xuanjihe / speech-emotion-recognition

speech emotion recognition using a convolutional recurrent networks based on IEMOCAP
389 stars 142 forks source link

IndexError: index 4833 is out of bounds for size 4800 #41

Open vinay-wwtc opened 4 years ago

vinay-wwtc commented 4 years ago

Getting below index error on model.py.

np_resource = np.dtype([("resource", np.ubyte, 1)]) Traceback (most recent call last): File "model.py", line 139, in train() File "model.py", line 56, in train train_label = dense_to_one_hot(train_label,FLAGS.num_classes) File "model.py", line 49, in dense_to_one_hot labels_one_hot.flat[index_offset + labels_dense.ravel()] = 1 IndexError: index 4833 is out of bounds for size 4800

Dependency

Garthchatrikalpana-github commented 3 years ago

How to rectify this error,please tell me