d52eb0bf3d6df25c70933321a841dac157806479,luminoth/models/ssd/ssd.py,SSD,_build,#SSD#Any#Any#Any#,69

Before Change


            //       them in image scale from the start instead of scaling
            //       them to their feature map size.
            feat_map_shape = feat_map.get_shape().as_list()[1:3]
            adjusted_bboxes = adjust_bboxes(
                self.anchors[feat_map_name],
                tf.cast(feat_map_shape[0], tf.float32),
                tf.cast(feat_map_shape[1], tf.float32),
                tf.cast(tf.shape(image)[1], tf.float32),
                tf.cast(tf.shape(image)[2], tf.float32)
            )
            // Clip anchors to the image.
            adjusted_bboxes = clip_boxes(
                adjusted_bboxes, tf.cast(tf.shape(image)[1:3], tf.int32))
            all_anchors_list.append(adjusted_bboxes)

After Change


            all_anchors_list.append(clipped_bboxes)
        all_anchors = np.concatenate(all_anchors_list, axis=0)
        // They were using float64, is all this precision necesary?
        all_anchors = tf.convert_to_tensor(all_anchors, dtype=tf.float64)

        prediction_dict = {}
        if gt_boxes is not None:
            // Generate targets
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: tryolabs/luminoth
Commit Name: d52eb0bf3d6df25c70933321a841dac157806479
Time: 2018-03-20
Author: joaquin.alori@gmail.com
File Name: luminoth/models/ssd/ssd.py
Class Name: SSD
Method Name: _build


Project Name: Bihaqo/t3f
Commit Name: 4c92f34eef3f2f88768c48acd2a52b21209dc28b
Time: 2017-04-02
Author: novikov@bayesgroup.ru
File Name: t3f/riemannian.py
Class Name:
Method Name: project


Project Name: mortendahl/tf-encrypted
Commit Name: e086b02bf4d19fbdcc751bfa876d03f2fcdaf375
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Factory
Method Name: tensor