Traceback (most recent call last):


 "run_cnn.py", line 198, in <module>

train()


 "run_cnn.py", line 80, in train

x_train, y_train = process_file(train_dir, word_to_id, cat_to_id, config.seq_length)


 "/home/niko/Desktop/text-classification-cnn-rnn-master/data/cnews_loader.py", line 107, in process_file

label_id.append(cat_to_id[labels[i]])
KeyError: 'NHS1\x000\x00p\x0cVeY\x1f(WeYSO-N_\x16Y:W~ve\x19P\x0c)Y1\\/f4llv\x0c\x14lab>f:yS_)Y\x0bNHSl31\\'

Traceback (most recent call last):


 "D:\python\lib\site-packages\pyttsx3\__init__.py", line 44, in init

eng = _activeEngines[driverName]


 "D:\python\lib\weakref.py", line 137, in __getitem__

o = self.data[key]()
KeyError: None
