Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not find "fc_conv_padding" parameter in function vgg.vgg_16 #22

Open
ghost opened this issue Jun 6, 2017 · 1 comment
Open

can not find "fc_conv_padding" parameter in function vgg.vgg_16 #22

ghost opened this issue Jun 6, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 6, 2017

when i read the code fcn_32s.py , i find that it called function vgg.vgg_16 and passing into a parameter called fc_conv_padding="SAME".
logits, end_points = vgg.vgg_16(mean_centered_image_batch,
num_classes=number_of_classes,
is_training=is_training,
spatial_squeeze=False,
fc_conv_padding='SAME')

However, when I turn to the vgg.vgg_16, i can not find this parameter.

def vgg_16(inputs,
num_classes=1000,
is_training=True,
dropout_keep_prob=0.5,
spatial_squeeze=True,
scope='vgg_16'):

@ghost
Copy link

ghost commented Jun 6, 2017

you can actually remove fc_conv_padding='SAME' because, in definition of vgg.vgg_16, the argument for slim.conv2d is already included ( padding='VALID')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants