33c2f89adf27cad1a5b0b0a9e542b989f1f9eed4,gluon/gluoncv2/models/pspnet.py,PSPNet,hybrid_forward,#PSPNet#Any#Any#,134
Before Change
def hybrid_forward(self, F, x):
x = self.backbone(x)
x = self.pool(x)
x = self.conv1(x)
x = self.dropout(x)
x = self.conv2(x)
x = F.contrib.BilinearResize2D(x, height=self.in_size[0], width=self.in_size[1])
return x
def get_pspnet(backbone,
classes,
After Change
x = outs[0]
x = self.pool(x)
x = self.final_block(x)
if self.aux:
y = outs[1]
y = self.aux_block(y)
return x, y
else:
return x
def get_pspnet(backbone,
classes,
model_name=None,
pretrained=False,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 12
Instances
Project Name: osmr/imgclsmob
Commit Name: 33c2f89adf27cad1a5b0b0a9e542b989f1f9eed4
Time: 2019-03-18
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/pspnet.py
Class Name: PSPNet
Method Name: hybrid_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
Project Name: osmr/imgclsmob
Commit Name: 8dc869c9450419461e671ac3e74a6893fa9c6572
Time: 2019-04-01
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/deeplabv3.py
Class Name: DeepLabv3
Method Name: hybrid_forward
Project Name: osmr/imgclsmob
Commit Name: 33c2f89adf27cad1a5b0b0a9e542b989f1f9eed4
Time: 2019-03-18
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/pspnet.py
Class Name: PSPNet
Method Name: hybrid_forward