9963f2ded56fb471cd0597a3a64e99eaeb0d64ca,pytorch/pytorchcv/models/others/_linknet.py,LinkNet,__init__,#LinkNet#,177
Before Change
:type x_n: int
super().__init__()
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)
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: 3
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: leftthomas/SRGAN
Commit Name: 3b13f1e6b5f5ac19511cb80f8107d4a1e077beca
Time: 2017-12-03
Author: leftthomas@qq.com
File Name: model.py
Class Name: Discriminator
Method Name: __init__
Project Name: facebookresearch/fastMRI
Commit Name: 4ee8ae757fd0701f8030f9fc46d6130b6d289123
Time: 2020-02-24
Author: tulliemurrell@gmail.com
File Name: models/unet/unet_model.py
Class Name: UnetModel
Method Name: __init__