c3ec7981fd91befe035b667bed8ea538c8853b97,pytorch/pytorchcv/models/pspnet.py,PSPNet,forward,#PSPNet#Any#,168
Before Change
x = self.backbone(x)
x = self.pool(x)
x = self.conv1(x)
x = self.dropout(x)
x = self.conv2(x)
x = F.interpolate(x, size=(h, w), mode="bilinear", align_corners=True)
return x
def get_pspnet(backbone,
After Change
x = self.final_block(x)
if self.aux:
y = self.aux_block(y)
return x, y
else:
return x
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: osmr/imgclsmob
Commit Name: c3ec7981fd91befe035b667bed8ea538c8853b97
Time: 2019-03-20
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/pspnet.py
Class Name: PSPNet
Method Name: forward
Project Name: osmr/imgclsmob
Commit Name: 3861825719b8e6ef042799cdb7861a72e11eb3bb
Time: 2018-12-03
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_resattnet4.py
Class Name: AttentionModule_stage2
Method Name: forward
Project Name: osmr/imgclsmob
Commit Name: ed1323aa16f4a5a1b17d32080ae40e1103ec6cca
Time: 2019-04-02
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/deeplabv3.py
Class Name: DeepLabv3
Method Name: forward