c472f856ac60d0fff63b90642d912d7e0db1c7dd,dataset/models/tf/mobilenet.py,MobileNet,_build_config,#MobileNet#Any#,49

Before Change


        config["input_block"]["resolution_factor"] = self.get_from_config("resolution_factor", 1.0)


        config["input_block"] = {**input_block,
                                 **config["input_block"]}

        config["default"]["data_format"] = self.data_format("images")

        config["body"]["strides"] = self.get_from_config("strides", _DEFAULT_BODY["strides"])
        config["body"]["double_filters"] = self.get_from_config("double_filters",
                                                                _DEFAULT_BODY["double_filters"])

        config["head"] = {**dict(layout="Vf", units=self.num_classes("labels")),
                          **config["head"]}
        return config


    @classmethod

After Change



        config["common"]["data_format"] = self.data_format("images")
        config["input_block"]["inputs"] = self.inputs["images"]
        config["head"]["units"] = self.num_classes("labels")
        return config

    @classmethod
    def body(cls, inputs, name="body", **kwargs):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 13

Instances


Project Name: analysiscenter/batchflow
Commit Name: c472f856ac60d0fff63b90642d912d7e0db1c7dd
Time: 2017-11-16
Author: rhudor@gmail.com
File Name: dataset/models/tf/mobilenet.py
Class Name: MobileNet
Method Name: _build_config


Project Name: analysiscenter/batchflow
Commit Name: 9c6b3adc0847794a40a785073cecbc3d1de8b3c7
Time: 2017-11-16
Author: rhudor@gmail.com
File Name: dataset/models/tf/inception_v3.py
Class Name: Inception_v3
Method Name: _build_config


Project Name: analysiscenter/batchflow
Commit Name: 02098c5c44893ce455aefcfc452aa00bd655987b
Time: 2017-11-15
Author: rhudor@gmail.com
File Name: dataset/models/tf/inception.py
Class Name: Inception_v1
Method Name: _build_config


Project Name: analysiscenter/batchflow
Commit Name: c472f856ac60d0fff63b90642d912d7e0db1c7dd
Time: 2017-11-16
Author: rhudor@gmail.com
File Name: dataset/models/tf/mobilenet.py
Class Name: MobileNet
Method Name: _build_config