4999f9795af7a21ca69adf5f72301b79f719498e,gluoncv/model_zoo/pspnet.py,PSPNet,__init__,#PSPNet#Any#Any#Any#Any#,33
Before Change
with self.name_scope():
self.head = _PSPHead(nclass, norm_layer=norm_layer, **kwargs)
self.head.initialize()
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)
After Change
self.head = _PSPHead(nclass, norm_layer=norm_layer, **kwargs)
self.head.initialize()
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)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
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: mozilla/bugbug
Commit Name: 0b77df59635715ac4538e35ed2257f1d3dba8d83
Time: 2020-03-11
Author: babadie@mozilla.com
File Name: http_service/tests/conftest.py
Class Name:
Method Name: mock_repo
Project Name: pyinstaller/pyinstaller
Commit Name: 1a5ea822854eb5f205bffae2f40a37ac54e51a29
Time: 2018-03-22
Author: h.goebel@crazy-compilers.com
File Name: tests/functional/test_import.py
Class Name:
Method Name: test_app_with_plugin