8ef6a1f133a9b18e1bd530d2dd550a93082fa59f,keras_layer_DecodeDetections2.py,DecodeDetections2,__init__,#DecodeDetections2#Any#Any#Any#Any#Any#Any#Any#Any#,41

Before Change


        if coords != "centroids":
            raise ValueError("The DetectionOutput layer currently only supports the "centroids" coordinate format.")

        self.confidence_thresh = tf.constant(confidence_thresh, name="confidence_thresh")
        self.iou_threshold = tf.constant(iou_threshold, name="iou_threshold")
        self.top_k = tf.constant(top_k, name="top_k")
        self.normalize_coords = tf.constant(normalize_coords, name="normalize_coords")
        self.img_height = tf.constant(img_height, dtype=tf.float32, name="img_height")

After Change


        self.nms_max_output_size = nms_max_output_size

        // We need these members for TensorFlow.
        self.tf_confidence_thresh = tf.constant(self.confidence_thresh, name="confidence_thresh")
        self.tf_iou_threshold = tf.constant(self.iou_threshold, name="iou_threshold")
        self.tf_top_k = tf.constant(self.top_k, name="top_k")
        self.tf_normalize_coords = tf.constant(self.normalize_coords, name="normalize_coords")
        self.tf_img_height = tf.constant(self.img_height, dtype=tf.float32, name="img_height")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pierluigiferrari/ssd_keras
Commit Name: 8ef6a1f133a9b18e1bd530d2dd550a93082fa59f
Time: 2018-03-04
Author: pierluigi.ferrari@gmx.com
File Name: keras_layer_DecodeDetections2.py
Class Name: DecodeDetections2
Method Name: __init__


Project Name: pierluigiferrari/ssd_keras
Commit Name: 8ef6a1f133a9b18e1bd530d2dd550a93082fa59f
Time: 2018-03-04
Author: pierluigi.ferrari@gmx.com
File Name: keras_layer_DecodeDetections.py
Class Name: DecodeDetections
Method Name: __init__


Project Name: GPflow/GPflow
Commit Name: bd0b423cd623940379ab52ee5b40b8b5b53639b1
Time: 2016-07-29
Author: james.hensman@gmail.com
File Name: GPflow/kernels.py
Class Name: Kern
Method Name: __init__