报错描述:
在训练facenet时遇到如下报错 Expected int32, got list containing Tensors of type '_Message' instead.
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-3-695ac180e28b> in <module>()
11 phase_train_placeholder = tf.placeholder(tf.bool, name='phase_train')
12
---> 13 embeddings = network.inference(images_placeholder, FLAGS.pool_type, FLAGS.use_lrn, 1.0, phase_train=phase_train_placeholder)
14
15 # embeddings = network.inference(images_placeholder, 'MAX', False, 1.0, phase_train=phase_train_placeholder)
/home/cqh2/Desktop/yobiface-master/src/models/nn4.pyc in inference(images, pool_type, use_lrn, keep_probability, phase_t