使用预训练的facenet模型在验证集上跑,中间报了个类型不匹配的错误:
原始:当前的话是一个uint8,一个是float32.
image = tf.cond(get_control_flag(control[0], RANDOM_ROTATE),
lambda:tf.compat.v1.py_func(random_rotate_image, [image
使用预训练的facenet模型在验证集上跑,中间报了个类型不匹配的错误:
原始:当前的话是一个uint8,一个是float32.
image = tf.cond(get_control_flag(control[0], RANDOM_ROTATE),
lambda:tf.compat.v1.py_func(random_rotate_image, [image