b039cceb43f0575c863f9a36d5143bb43fe44678,luminoth/models/base/ssd_feature_extractor.py,SSDFeatureExtractor,_build,#SSDFeatureExtractor#Any#Any#,26

Before Change



            // We"ll add the feature maps to a collection. In the paper they use
            // one of vgg16"s layers as a feature map, so we start by adding it.
            tf.add_to_collection("FEATURE_MAPS", base_net_endpoints[
                scope + "/vgg_16/conv4/conv4_3"]
            )

            // TODO: check that the usage of `padding="VALID"` is correct
            // TODO: check that the 1x1 convs actually use relu
            // Modifications to vgg16

After Change


                inputs_rank = inputs_shape.ndims
                dtype = vgg_conv4_3.dtype.base_dtype

                norm_dim = tf.range(inputs_rank - 1, inputs_rank)
                params_shape = inputs_shape[-1:]

                vgg_conv4_3_norm = tf.nn.l2_normalize(
                    vgg_conv4_3, norm_dim, epsilon=1e-12
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tryolabs/luminoth
Commit Name: b039cceb43f0575c863f9a36d5143bb43fe44678
Time: 2018-03-20
Author: psoto23.ps@gmail.com
File Name: luminoth/models/base/ssd_feature_extractor.py
Class Name: SSDFeatureExtractor
Method Name: _build


Project Name: tryolabs/luminoth
Commit Name: 2ba7725df0cbc3183d9cdc49f797614d24c9f80e
Time: 2017-02-23
Author: agustin@tryolabs.com
File Name: detector/detector.py
Class Name:
Method Name: metrics


Project Name: NifTK/NiftyNet
Commit Name: a0f77cc8b87512e691a7c22b6fb9ba60f603b632
Time: 2017-07-04
Author: r.gray@ucl.ac.uk
File Name: network/convolutional_variational_autoencoder.py
Class Name: VAE_convolutional
Method Name: layer_op