예제 #1
0
def _create_modified_mobilenet_config():
    conv_defs = copy.deepcopy(mobilenet_v2.V2_DEF)
    conv_defs['spec'][-1] = mobilenet.op(slim.conv2d,
                                         stride=1,
                                         kernel_size=[1, 1],
                                         num_outputs=256)
    return conv_defs
def _create_modified_mobilenet_config():
  conv_defs = copy.copy(mobilenet_v2.V2_DEF)
  conv_defs['spec'][-1] = mobilenet.op(
      slim.conv2d, stride=1, kernel_size=[1, 1], num_outputs=256)
  return conv_defs
def _create_modified_mobilenet_config():
    conv_defs = copy.deepcopy(mobilenet_v2.V2_DEF)
    conv_defs['spec'][7] = mobilenet.op(conv_blocks.expanded_conv,
                                        stride=1,
                                        num_outputs=64)
    return conv_defs