multi-class-text-classification-cnn-rnn
multi-class-text-classification-cnn-rnn copied to clipboard
tensorflow 1 migration
Migration to tensorflow 1 I changed the concat from (1,xxx) to (xxx,1) I changed the tf.nn.rnn_ to tf.contrib.rnn
But now I have this error in
File "train.py", line 161, in
Any ideas?
Are you able to solve this error? Please reply
-
I did this change in line 85 of text_cnn_rnn.py losses = tf.nn.softmax_cross_entropy_with_logits(labels = self.input_y, logits = self.scores) # only named arguments accepted
-
i also changed concat from (1,xxx) to (xxx,1)
Please help with necessary changes.
Same problem here, looking forward to the solution... I'm new to NN, but in desperate need of NN in my project...