x_dev: (800, 4, 98)!!
x_dev: (4, 800, 98)!!
Train/Dev split: 7200/800
2018-06-02 20:32:13.323599: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
(<tf.Tensor 'bidirectional_rnn/fw/fw/transpose_1:0' shape=(?, 98, 800) dtype=float32>, <tf.Tensor 'ReverseV2:0' shape=(?, 98, 800) dtype=float32>)
pos: (?, 98)
WARNING:tensorflow:From /home/mldl/ub16_prj/Attention-Based-BiLSTM-relation-extraction/lstm_attention.py:69: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.
See @{tf.nn.softmax_cross_entropy_with_logits_v2}.
Writing to /home/mldl/ub16_prj/Attention-Based-BiLSTM-relation-extraction/runs/1527942734
Traceback (most recent call last):
File "train.py", line 264, in
tf.app.run()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/platform/app.py", line 126, in run
_sys.exit(main(argv))
File "train.py", line 261, in main
train(x_text, dist1, dist2, y, pos)
File "train.py", line 248, in train
train_step(x_batch, y_batch)
File "train.py", line 204, in train_step
feed_dict)
ValueError: not enough values to unpack (expected 7, got 5)
(venv) mldl@mldlUB1604:~/ub16_prj/Attention-Based-BiLSTM-relation-extraction$ /usr/bin/python3
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
import tensorflow as tf
tf.version
'1.8.0'
quit()
(venv) mldl@mldlUB1604: