df93c4e61e7ca1db25f1ee346ac0516685498b02,keras_rcnn/backend/tensorflow_backend.py,,bbox_transform_inv,#Any#Any#,12

Before Change



def bbox_transform_inv(shifted, boxes):
    if boxes.shape[0] == 0:
        return keras.backend.zeros((0, boxes.shape[1]), dtype=boxes.dtype)

    a = shifted[:, 2] - shifted[:, 0] + 1.0
    b = shifted[:, 3] - shifted[:, 1] + 1.0

After Change



        return keras.backend.concatenate(prediction)

    zero_boxes = keras.backend.equal(keras.backend.shape(boxes)[0], 0)

    pred_boxes = tensorflow.cond(zero_boxes, shape_zero, shape_non_zero)

    return pred_boxes


def non_maximum_suppression(boxes, scores, maximum, threshold=0.5):
    return tensorflow.image.non_max_suppression(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: broadinstitute/keras-rcnn
Commit Name: df93c4e61e7ca1db25f1ee346ac0516685498b02
Time: 2017-08-15
Author: allen.goodman@icloud.com
File Name: keras_rcnn/backend/tensorflow_backend.py
Class Name:
Method Name: bbox_transform_inv


Project Name: geomstats/geomstats
Commit Name: 2d3a51b7d91c7ebed8251643a99d46c5eb211ed0
Time: 2018-09-28
Author: ninamio78@gmail.com
File Name: geomstats/general_linear_group.py
Class Name: GeneralLinearGroup
Method Name: belongs


Project Name: tensorflow/models
Commit Name: 071b3b94b6e4dd3bf9c3bff64fc01e92ce2b8cdc
Time: 2020-09-25
Author: yuhuic@google.com
File Name: research/object_detection/meta_architectures/center_net_meta_arch.py
Class Name: CenterNetMetaArch
Method Name: _get_instance_indices