4ee8ae757fd0701f8030f9fc46d6130b6d289123,models/unet/unet_model.py,UnetModel,__init__,#UnetModel#Any#Any#Any#Any#Any#,68
Before Change
for i in range(num_pool_layers - 1):
self.down_sample_layers += [ConvBlock(ch, ch * 2, drop_prob)]
ch *= 2
self.conv = ConvBlock(ch, ch, drop_prob)
self.up_conv = nn.ModuleList()
self.up_transpose_conv = nn.ModuleList()
for i in range(num_pool_layers - 1):
After Change
self.up_transpose_conv += [TransposeConvBlock(ch * 2, ch)]
self.up_conv += [
nn.Sequential(
ConvBlock(ch * 2, ch, drop_prob),
nn.Conv2d(ch, self.out_chans, kernel_size=1, stride=1),
)]
def forward(self, input):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
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__
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 31a88a7675f0982a050cc2af40f3edc726b606a5
Time: 2018-04-26
Author: k.zhou@qmul.ac.uk
File Name: models/HACNN.py
Class Name: InceptionA
Method Name: __init__
Project Name: akanimax/pro_gan_pytorch
Commit Name: cdd9002ad171ee47c65c3670318473a76eb682e2
Time: 2021-01-04
Author: sriharihumbarwadi97@gmail.com
File Name: pro_gan_pytorch/networks.py
Class Name: Discriminator
Method Name: __init__