Commit 924d0446 authored by Jun Kim's avatar Jun Kim Committed by GitHub
Browse files

[slim] Fix a scope name typo in Inception_v1.py

The average pool is used but named 'MaxPool_0a_7x7'.
Change it to 'AvgPool_0a_7x7'.
parent 596c9e23
...@@ -289,7 +289,7 @@ def inception_v1(inputs, ...@@ -289,7 +289,7 @@ def inception_v1(inputs,
is_training=is_training): is_training=is_training):
net, end_points = inception_v1_base(inputs, scope=scope) net, end_points = inception_v1_base(inputs, scope=scope)
with tf.variable_scope('Logits'): with tf.variable_scope('Logits'):
net = slim.avg_pool2d(net, [7, 7], stride=1, scope='MaxPool_0a_7x7') net = slim.avg_pool2d(net, [7, 7], stride=1, scope='AvgPool_0a_7x7')
net = slim.dropout(net, net = slim.dropout(net,
dropout_keep_prob, scope='Dropout_0b') dropout_keep_prob, scope='Dropout_0b')
logits = slim.conv2d(net, num_classes, [1, 1], activation_fn=None, logits = slim.conv2d(net, num_classes, [1, 1], activation_fn=None,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment