9963f2ded56fb471cd0597a3a64e99eaeb0d64ca,pytorch/pytorchcv/models/others/_linknet.py,LinkNet,__init__,#LinkNet#Any#,177
Before Change
self.conv1 = nn.Conv2d(3, 64, 7, 2, 3, bias=False)
self.bn1 = nn.BatchNorm2d(64)
self.relu = nn.ReLU(inplace=True)
self.maxpool = nn.MaxPool2d(3, 2, 1)
self.encoder1 = Encoder(64, 64, 3, 1, 1)
self.encoder2 = Encoder(64, 128, 3, 2, 1)
self.encoder3 = Encoder(128, 256, 3, 2, 1)
After Change
base = resnet.resnet18(pretrained=False)
self.in_block = nn.Sequential(
base.conv1,
base.bn1,
base.relu,
base.maxpool
)
self.encoder1 = base.layer1
self.encoder2 = base.layer2
self.encoder3 = base.layer3
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: osmr/imgclsmob
Commit Name: 9963f2ded56fb471cd0597a3a64e99eaeb0d64ca
Time: 2021-02-11
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/_linknet.py
Class Name: LinkNet
Method Name: __init__
Project Name: Cadene/pretrained-models.pytorch
Commit Name: b2074ddf9d8bc2069d66976fea58a52f40238496
Time: 2017-11-16
Author: remi.cadene@icloud.com
File Name: pretrainedmodels/nasnet.py
Class Name: ReductionCell0
Method Name: __init__
Project Name: arraiy/torchgeometry
Commit Name: d8ab9eaa097347abaff5ad7502b44e1fb5dbc001
Time: 2019-01-12
Author: kaplanonu@gmail.com
File Name: test/test_jit_tracing.py
Class Name: LocalizationNetwork
Method Name: __init__