我这里有一个卷积神经网络,它获取96x96x3的图片并输出1x128编码。def faceRecoModel(input_shape): Implementation of the Inception model used for FaceNet1: a/b/c X = inception_block_1b(X)
X = inception_block_1c
是否有一种方法可以快速检查网络是否如我们所期望的那样被训练?例如,冻结层中的变量实际上在培训期间没有更新。我使用以下方法冻结范围“ABC”中的所有变量: with tf.variable_scope('ABC'):
_, end_points = getattr(inception, 'inception_v2'(..., i