multi-class-text-classification-cnn-rnn
multi-class-text-classification-cnn-rnn copied to clipboard
Classify Kaggle San Francisco Crime Description into 39 classes. Build the model with CNN, RNN (GRU and LSTM) and Word Embeddings on Tensorflow.
Hi jiegzhan, Thanks for contributing this great project. I saw you removed pre-trained word embedding? Did it make accuracy drop down?
Thanks for your code it's pretty much exactly what i was looking for. But i need to classify bigger text (around 500 words in one article), and it's gonna be...
DataLossError (see above for traceback): unable to open table file .\trained_results_1509434l62\best_mo del.ckpt: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and...
this is not what I saw from kaggle sf-crime page
I tried to transplant the code on my own text classification data( 47 classes in 42000 records), finding out that the classifier would tend to choose the larger classes like...
Hi, I'm having this issue when I run training: python3 train.py ./data/train.csv.zip ./training_config.json CRITICAL:root:Accuracy on test set: 0.9971641706053186 Traceback (most recent call last): File "train.py", line 161, in train_cnn_rnn() File...
I didn't change any file Traceback (most recent call last): File "train.py", line 161, in train_cnn_rnn() File "train.py", line 151, in train_cnn_rnn os.rename(path, trained_dir + 'best_model.ckpt') FileNotFoundError: [Errno 2] No...
I have tried messing around with the code quite a bit, but can't figure it out. How do I turn the predictions.py into more of an API that can be...
sidrah@sidrah-VirtualBox:~/Downloads/multi-class-text-classification-cnn-rnn-master$ python3 train.py ./data/train.csv.zip ./training_config.json Traceback (most recent call last): File "train.py", line 8, in import data_helper File "/home/sidrah/Downloads/multi-class-text-classification-cnn-rnn-master/data_helper.py", line 13, in from tensorflow.contrib import learn File "/usr/local/lib/python3.4/dist-packages/tensorflow/__init__.py", line 23,...
Hi, I am trying the example with Python 3.6.1 and TensorFlow 1.2.1 on Windows 10. I am getting the following error when I run "python train.py ./data/train.csv.zip ./training_config.json". CRITICAL:root:Saved model...