Open Ghokury opened 1 year ago
I changed the numbers by +1 and used this code to make emotion_labels.npy file. Seems it's correct.
import scipy.io as sio
mat_file_labels = sio.loadmat('label.mat') labels = mat_file_labels['label']
labels = labels[0] labels_edited = np.empty(675) for i in range(0,45): labels_edited[i15:(i+1)15] = labels
from tempfile import TemporaryFile outfile = TemporaryFile() np.save('emotion_labels.npy', labels_edited)
What's the code to get "emotion_labels.npy" file? The provided in the dataset label.mat has only 15 numbers instead of 675.