Closed Varuzhan97 closed 4 years ago
The problem is somewhere here:
File "/home/varuzhan/Desktop/crnn-lid-master/keras/data_loaders/csv_loader.py", line 36, in get_data
label_batch[i, :] = to_categorical([label], nb_classes=self.config["num_classes"]) # one-hot encoding
File "/home/varuzhan/.local/lib/python2.7/site-packages/keras/utils/np_utils.py", line 23, in to_categorical
Y[i, y[i]] = 1.
But, that is all I can tell you from this traceback...
Thanks. Problem solved by comenting 4 languages of num_class. And uncommenting 6 languages. But now I am getting this one: Epoch 1/50 Killed
very interesting. Seems that your OS kills the process. Maybe you are using to much RAM?
No.It is not because of RAM. Ihave tried multyprocessint true/false too.
I am getting this error during train(after downloading and spectograming downloads ).