Traceback (most recent call last):


 "train_GRU.py", line 164, in <module>

tf.app.run() 


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 44, in run

_sys.exit(main(_sys.argv[:1] + flags_passthrough))


 "train_GRU.py", line 49, in main

m = network.GRU(is_training=True, word_embeddings = wordembedding, settings = settings)


 "/home/xxx/TensorFlow-NRE/network.py", line 71, in __init__

inputs_forward = tf.concat(2,[tf.nn.embedding_lookup(word_embedding,self.input_word),tf.nn.embedding_lookup(pos1_embedding,self.input_pos1),tf.nn.embedding_lookup(pos2_embedding,self.input_pos2)])


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/array_ops.py", line 1047, in concat

dtype=dtypes.int32).get_shape(


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 651, in convert_to_tensor

as_ref=False)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 716, in internal_convert_to_tensor

ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/constant_op.py", line 176, in _constant_tensor_conversion_function

return constant(v, dtype=dtype, name=name)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/constant_op.py", line 165, in constant

tensor_util.make_tensor_proto(value, dtype=dtype, shape=shape, verify_shape=verify_shape))


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py", line 367, in make_tensor_proto

_AssertCompatible(values, dtype)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_util.py", line 302, in _AssertCompatible

(dtype.name, repr(mismatch), type(mismatch).__name__))
TypeError: Expected int32, got list containing Tensors of type '_Message' instead.

Traceback (most recent call last):


 "/Users/rpg/.virtualenvs/pymc3/lib/python3.7/site-packages/theano/compile/function/types.py", line 974, in __call__

if output_subset is None
TypeError: expected type_num 11 (NPY_FLOAT32) got 12
