@@ -353,7 +353,7 @@ class Model(object):
353
353
def __init__ (self , resnet_size , bottleneck , num_classes , num_filters ,
354
354
kernel_size ,
355
355
conv_stride , first_pool_size , first_pool_stride ,
356
- second_pool_size , second_pool_stride , block_sizes , block_strides ,
356
+ block_sizes , block_strides ,
357
357
final_size , version = DEFAULT_VERSION , data_format = None ,
358
358
dtype = DEFAULT_DTYPE ):
359
359
"""Creates a model for classifying an image.
@@ -371,8 +371,6 @@ def __init__(self, resnet_size, bottleneck, num_classes, num_filters,
371
371
If none, the first pooling layer is skipped.
372
372
first_pool_stride: stride size for the first pooling layer. Not used
373
373
if first_pool_size is None.
374
- second_pool_size: Pool size to be used for the second pooling layer.
375
- second_pool_stride: stride size for the final pooling layer
376
374
block_sizes: A list containing n values, where n is the number of sets of
377
375
block layers desired. Each value should be the number of blocks in the
378
376
i-th set.
@@ -422,8 +420,6 @@ def __init__(self, resnet_size, bottleneck, num_classes, num_filters,
422
420
self .conv_stride = conv_stride
423
421
self .first_pool_size = first_pool_size
424
422
self .first_pool_stride = first_pool_stride
425
- self .second_pool_size = second_pool_size
426
- self .second_pool_stride = second_pool_stride
427
423
self .block_sizes = block_sizes
428
424
self .block_strides = block_strides
429
425
self .final_size = final_size
0 commit comments