3d76f1419df74f80369785cc962f1d143eb172de,luminoth/models/ssd/ssd_feature_extractor.py,SSDFeatureExtractor,__init__,#SSDFeatureExtractor#Any#Any#Any#,18

Before Change


    def __init__(self, config, parent_name=None, name="ssd_feature_extractor",
                 **kwargs):
        super(SSDFeatureExtractor, self).__init__(config, name=name, **kwargs)
        if config.get("architecture") not in VALID_ARCHITECTURES:
            raise ValueError("Invalid architecture "{}"".format(
                config.get("architecture")
            ))

        self._architecture = config.get("architecture")
        self._config = config
        self.parent_name = parent_name
        self._dropout_keep_prob = config.dropout_keep_prob

After Change


    def __init__(self, config, parent_name=None, name="ssd_feature_extractor",
                 **kwargs):
        super(SSDFeatureExtractor, self).__init__(config, name=name, **kwargs)
        if self._architecture not in VALID_SSD_ARCHITECTURES:
            raise ValueError("Invalid architecture "{}"".format(
                self._architecture
            ))
        self.parent_name = parent_name
        self._dropout_keep_prob = config.dropout_keep_prob

    def _build(self, inputs, is_training=True):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: tryolabs/luminoth
Commit Name: 3d76f1419df74f80369785cc962f1d143eb172de
Time: 2018-03-20
Author: joaquin.alori@gmail.com
File Name: luminoth/models/ssd/ssd_feature_extractor.py
Class Name: SSDFeatureExtractor
Method Name: __init__


Project Name: chainer/chainercv
Commit Name: 1cd87b67822c94c49d30ce1eabce792b3db7c272
Time: 2017-06-14
Author: yuyuniitani@gmail.com
File Name: chainercv/links/model/vgg/vgg.py
Class Name: VGG16Layers
Method Name: __init__


Project Name: uber/ludwig
Commit Name: 3e2f276459f976054b5c2ab8c55be994170345da
Time: 2020-08-27
Author: carlo.grisetti@dsgroup.it
File Name: ludwig/utils/defaults.py
Class Name:
Method Name: merge_with_defaults