4999f9795af7a21ca69adf5f72301b79f719498e,gluoncv/model_zoo/pspnet.py,PSPNet,__init__,#PSPNet#Any#Any#Any#Any#,33
Before Change
self.head.collect_params().setattr("lr_mult", 10)
if self.aux:
self.auxlayer = _FCNHead(1024, nclass, norm_layer=norm_layer, **kwargs)
self.auxlayer.initialize()
self.auxlayer.collect_params().setattr("lr_mult", 10)
def forward(self, x):
_, _, H, W = x.shape
After Change
if self.aux:
self.auxlayer = _FCNHead(1024, nclass, norm_layer=norm_layer, **kwargs)
self.auxlayer.initialize()
self.auxlayer.collect_params().setattr("lr_mult", 10)
def hybrid_forward(self, F, x):
c3, c4 = self.base_forward(x)
outputs = []
x = self.head(c4)
x = F.contrib.BilinearResize2D(x, **self._up_kwargs)
outputs.append(x)

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: dmlc/gluon-cv
Commit Name: 4999f9795af7a21ca69adf5f72301b79f719498e
Time: 2018-06-05
Author: 8041160+zhanghang1989@users.noreply.github.com
File Name: gluoncv/model_zoo/pspnet.py
Class Name: PSPNet
Method Name: __init__
Project Name: dmlc/gluon-cv
Commit Name: b7988369f77e12525604e2613b279c13f041f484
Time: 2019-12-04
Author: wuxun.zhang@intel.com
File Name: scripts/pose/simple_pose/validate.py
Class Name:
Method Name:
Project Name: catalyst-team/catalyst
Commit Name: 095d3f9114c79d77782c7fed377af9b59b7db6c8
Time: 2020-02-13
Author: andrey.sheka@gmail.com
File Name: catalyst/utils/distributed.py
Class Name:
Method Name: process_components