1cccda2d0bf06094229075828030a8228d71fd28,mmdet/models/utils/res_layer.py,ResLayer,__init__,#ResLayer#Any#Any#Any#Any#Any#Any#Any#Any#,23
Before Change
downsample = nn.Sequential(*downsample)
gen_attention = kwargs.pop("gen_attention", None)
gen_attention_blocks = kwargs.pop("gen_attention_blocks", tuple())
layers = []
layers.append(
block(
inplanes=inplanes,
After Change
layers = []
layers.append(
block(
inplanes=inplanes,
planes=planes,
stride=stride,
downsample=downsample,
conv_cfg=conv_cfg,
norm_cfg=norm_cfg,
**kwargs))
inplanes = planes * block.expansion
for i in range(1, num_blocks):
layers.append(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: open-mmlab/mmdetection
Commit Name: 1cccda2d0bf06094229075828030a8228d71fd28
Time: 2020-03-31
Author: xvjiarui0826@gmail.com
File Name: mmdet/models/utils/res_layer.py
Class Name: ResLayer
Method Name: __init__
Project Name: analysiscenter/batchflow
Commit Name: 3c717d305bc5d47145a4bce3b193d07a34d941cd
Time: 2019-09-11
Author: 7520522+a-arefina@users.noreply.github.com
File Name: batchflow/models/tf/efficientnet.py
Class Name: ScalableModel
Method Name: body
Project Name: analysiscenter/batchflow
Commit Name: 3c717d305bc5d47145a4bce3b193d07a34d941cd
Time: 2019-09-11
Author: 7520522+a-arefina@users.noreply.github.com
File Name: batchflow/models/tf/efficientnet.py
Class Name: ScalableModel
Method Name: non_repeated_block