59575eefc77f352887f1f99f7367082d8a86c721,dataset/models/tf/resnet.py,ResNet,_build_config,#ResNet#Any#,37
Before Change
filters = self.get_from_config("filters", 64)
num_blocks = self.get_from_config("num_blocks", 4)
width_factor = self.get_from_config("width_factor", 4)
config["default"]["data_format"] = self.data_format("images")
config["input_block"] = {**dict(filters=64, kernel_size=7, layout="cnap",
After Change
config["body"] = {**dict(bottleneck_factor=4, width_factor=1, resnext=False, resnext_factor=32,
se_block=False, se_factor=16),
**config["body"]}
config["body"]["filters"] = 2 ** np.arange(num_blocks) * filters * config["body"]["width_factor"]
config["head"]["num_classes"] = self.num_classes("labels")
return config
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: analysiscenter/batchflow
Commit Name: 59575eefc77f352887f1f99f7367082d8a86c721
Time: 2017-11-13
Author: rhudor@gmail.com
File Name: dataset/models/tf/resnet.py
Class Name: ResNet
Method Name: _build_config
Project Name: analysiscenter/batchflow
Commit Name: 02098c5c44893ce455aefcfc452aa00bd655987b
Time: 2017-11-15
Author: rhudor@gmail.com
File Name: dataset/models/tf/unet.py
Class Name: UNet
Method Name: _build_config
Project Name: analysiscenter/batchflow
Commit Name: 02098c5c44893ce455aefcfc452aa00bd655987b
Time: 2017-11-15
Author: rhudor@gmail.com
File Name: dataset/models/tf/linknet.py
Class Name: LinkNet
Method Name: _build_config