multi-class-text-classification-cnn
multi-class-text-classification-cnn copied to clipboard
Classify Kaggle Consumer Finance Complaints into 11 classes. Build the model with CNN (Convolutional Neural Network) and Word Embeddings on Tensorflow.
To switch to tensorflow 0.9 on python 3- so now i am using python 3 and Tensorflow 0.9. export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/tensorflow-0.9.0rc0-py3-none-any.whl python3 -m pip install $TF_BINARY_URL Then at line 82 replace...
Hello, i have a dataset with 1572 sentences and 13 classes. i try to train this data. here is output and error: INFO:root:The maximum length of all sentences: 40 INFe...
Traceback (most recent call last): File "train.py", line 136, in train_cnn() File "train.py", line 59, in train_cnn l2_reg_lambda=params['l2_reg_lambda']) File "/webserver/github/multi-class-text-classification-cnn/text_cnn.py", line 49, in __init__ self.h_pool = tf.concat(3, pooled_outputs) File "/usr/local/lib/python3.6/site-packages/tensorflow/python/ops/array_ops.py",...
When do predict i have got error after 7200 step: ``` CRITICAL:root:Saved model d:\Django\multi-class-text-classification-cnn\trained_model_1485372325\checkpoints\model-7200 at step 7200 CRITICAL:root:Best accuracy 0.8768386935926203 at step 7200 Traceback (most recent call last): File "train.py",...