cc07095b2f72ff3ba5e5d76900ff17111cf9f177,batchflow/models/tf/unet.py,UNet,build_config,#UNet#Any#,58

Before Change


        config = super().build_config(names)

        if self.config.get("body/filters") is None:
            config["body/filters"] = (2 ** np.arange(config["body/num_blocks"]) * 64).tolist()
        if config.get("head/num_classes") is None:
            config["head/num_classes"] = self.num_classes("targets")
        return config

After Change


            config["body/encoder/blocks/filters"] = [128*2**i for i in range(num_stages)]

        if config.get("body/decoder/blocks/filters") is None:
            config["body/decoder/blocks/filters"] = list(reversed([64*2**i for i in range(num_stages)]))

        if config.get("body/decoder/upsample/filters") is None:
            config["body/decoder/upsample/filters"] = list(reversed([128*2**i for i in range(num_stages)]))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: analysiscenter/batchflow
Commit Name: cc07095b2f72ff3ba5e5d76900ff17111cf9f177
Time: 2019-07-29
Author: 7520522+a-arefina@users.noreply.github.com
File Name: batchflow/models/tf/unet.py
Class Name: UNet
Method Name: build_config


Project Name: gboeing/osmnx
Commit Name: d7b2db3c5262c82c44958afc2500efe0838f0884
Time: 2020-12-02
Author: boeing@usc.edu
File Name: osmnx/utils_graph.py
Class Name:
Method Name: _update_edge_keys


Project Name: pymc-devs/pymc3
Commit Name: 8e9d33e12259fee615e8dcd92c16496037f1c195
Time: 2016-09-10
Author: ColCarroll@users.noreply.github.com
File Name: pymc3/sampling.py
Class Name:
Method Name: assign_step_methods


Project Name: gboeing/osmnx
Commit Name: b2be440a78c9da841c3f1bdfa34e5dc0dc1e669c
Time: 2020-11-19
Author: boeing@usc.edu
File Name: osmnx/utils_graph.py
Class Name:
Method Name: _update_edge_keys


Project Name: has2k1/plotnine
Commit Name: 43ae81ebbe860010aaaa3d739284ebeb8284e59e
Time: 2017-05-07
Author: has2k1@gmail.com
File Name: plotnine/facets/facet.py
Class Name:
Method Name: unique_combs