jiegzhan/multi-class-text-classification-cnn

Try to run the program with my own data

kaiwendt92 opened this issue · 0 comments

I am very new to this whole subject. I created a small csv with 25 entries and wanted to run the program with it. Somehow i am failing.

I attached my datafile, so you maybe can have a look onto it and tell me what i am doing wrong.

The first error that occurs to me is:

Traceback (most recent call last):
File "train.py", line 136, in
train_cnn()
File "train.py", line 24, in train_cnn
max_document_length = max([len(x.split(' ')) for x in x_raw])
ValueError: max() arg is an empty sequence

consumer_complaints1.csv.zip

Thank you very much.