Number of instances in devDataStream: 16855
Number of batches in devDataStream: 57
WARNING:tensorflow:From ///BiMPM_tf1.5/src/match_utils.py:150: calling reduce_max (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
WARNING:tensorflow:From ///BiMPM_tf1.5/src/match_utils.py:151: calling reduce_mean (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
WARNING:tensorflow:From ///BiMPM_tf1.5/src/SentenceMatchModelGraph.py:156: 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.
Traceback (most recent call last):
File "src/SentenceMatchTrainer.py", line 296, in
main(FLAGS)
File "src/SentenceMatchTrainer.py", line 217, in main
is_training=True, options=FLAGS, global_step=global_step)
File "///BiMPM_tf1.5/src/SentenceMatchModelGraph.py", line 10, in init
self.create_model_graph(num_classes, word_vocab, char_vocab, is_training, global_step=global_step)
File "///BiMPM_tf1.5/src/SentenceMatchModelGraph.py", line 166, in create_model_graph
l2_loss = tf.add_n([tf.nn.l2_loss(v) for v in tvars if v.get_shape().ndims > 1])
File "//BiMPM_tf1.5/src/SentenceMatchModelGraph.py", line 166, in
l2_loss = tf.add_n([tf.nn.l2_loss(v) for v in tvars if v.get_shape().ndims > 1])
TypeError: '>' not supported between instances of 'NoneType' and 'int'
Number of instances in devDataStream: 16855 Number of batches in devDataStream: 57 WARNING:tensorflow:From ///BiMPM_tf1.5/src/match_utils.py:150: calling reduce_max (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version. Instructions for updating: keep_dims is deprecated, use keepdims instead WARNING:tensorflow:From ///BiMPM_tf1.5/src/match_utils.py:151: calling reduce_mean (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version. Instructions for updating: keep_dims is deprecated, use keepdims instead WARNING:tensorflow:From ///BiMPM_tf1.5/src/SentenceMatchModelGraph.py:156: 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.
Traceback (most recent call last): File "src/SentenceMatchTrainer.py", line 296, in
main(FLAGS)
File "src/SentenceMatchTrainer.py", line 217, in main
is_training=True, options=FLAGS, global_step=global_step)
File "///BiMPM_tf1.5/src/SentenceMatchModelGraph.py", line 10, in init
self.create_model_graph(num_classes, word_vocab, char_vocab, is_training, global_step=global_step)
File "///BiMPM_tf1.5/src/SentenceMatchModelGraph.py", line 166, in create_model_graph
l2_loss = tf.add_n([tf.nn.l2_loss(v) for v in tvars if v.get_shape().ndims > 1])
File "//BiMPM_tf1.5/src/SentenceMatchModelGraph.py", line 166, in
l2_loss = tf.add_n([tf.nn.l2_loss(v) for v in tvars if v.get_shape().ndims > 1])
TypeError: '>' not supported between instances of 'NoneType' and 'int'