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

Before Change


        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

    @classmethod
    def body(cls, inputs, name="body", **kwargs):

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: 3

Non-data size: 3

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: PavlosMelissinos/enet-keras
Commit Name: d5f386ee8b68b01e77278f2b318de3aebbc55373
Time: 2017-10-04
Author: pmelissi@iti.gr
File Name: src/experiments/core.py
Class Name: Experiment
Method Name: model


Project Name: galeone/dynamic-training-bench
Commit Name: 0a68639f4c33323274e7829b9349d0170dc6c8ea
Time: 2017-02-08
Author: nessuno@nerdz.eu
File Name: evaluate.py
Class Name:
Method Name: