Traceback (most recent call last):
File "/home/thoshith/speech-emotion-recognition-master/zscore_emodb.py", line 176, in
print(read_data_db())
File "/home/thoshith/speech-emotion-recognition-master/zscore_emodb.py", line 143, in read_data_db
traindata1[train_num 300:(train_num + 1) 300] = part
ValueError: could not broadcast input array from shape (300,40) into shape (0,40)
我尝试使用您的代码来训练具有八种不同情绪类别的模型。每个类我有192个文件,除了中性,有96个文件。 我运行代码时遇到以下错误。
Traceback (most recent call last): File "/home/thoshith/speech-emotion-recognition-master/zscore_emodb.py", line 176, in
print(read_data_db())
File "/home/thoshith/speech-emotion-recognition-master/zscore_emodb.py", line 143, in read_data_db
traindata1[train_num 300:(train_num + 1) 300] = part
ValueError: could not broadcast input array from shape (300,40) into shape (0,40)
提前致谢