Tensorflow batch_norm does not work properly when testing (is_training=False)
问题 I am training the following model: with slim.arg_scope(inception_arg_scope(is_training=True)): logits_v, endpoints_v = inception_v3(all_v, num_classes=25, is_training=True, dropout_keep_prob=0.8, spatial_squeeze=True, reuse=reuse_variables, scope='vis') logits_p, endpoints_p = inception_v3(all_p, num_classes=25, is_training=True, dropout_keep_prob=0.8, spatial_squeeze=True, reuse=reuse_variables, scope='pol') pol_features = endpoints_p['pol/features'] vis_features = endpoints_v['vis/features'