text-classification-models-tf icon indicating copy to clipboard operation
text-classification-models-tf copied to clipboard

What version of Tensorflow the code runs with?

Open Crista23 opened this issue 5 years ago • 1 comments

It crashes in Tensorflow 1.4 with the error below:

Traceback (most recent call last): File "train.py", line 47, in model = VDCNN(alphabet_size, CHAR_MAX_LEN, NUM_CLASS) File "text-classification-models-tf/cnn_models/vd_cnn.py", line 70, in init tf.nn.softmax_cross_entropy_with_logits_v2(logits=self.logits, labels=y_one_hot)) AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'softmax_cross_entropy_with_logits_v2'

Crista23 avatar Mar 29 '19 08:03 Crista23

I have the same problem.

grapeff avatar Jun 03 '19 08:06 grapeff