59f713480fdd443bcec294459ffe8149ba49d140,keras_retinanet/models/retinanet.py,,retinanet_bbox,#Any#Any#Any#Any#,203

Before Change


    anchors        = model.outputs[0]
    regression     = model.outputs[1]
    classification = model.outputs[2]
    if len(model.outputs) > 3:
        other = keras.layers.Concatenate(axis=2, name="other")(model.outputs[2:])
    else:
        other = None

    // apply predicted regression to anchors
    boxes      = keras_retinanet.layers.RegressBoxes(name="boxes")([anchors, regression])
    detections = keras.layers.Concatenate(axis=2)([boxes, classification] + ([other] if other is not None else []))

    // additionally apply non maximum suppression

After Change


        detections = keras_retinanet.layers.NonMaximumSuppression(name="nms")([boxes, classification, detections])

    // construct the model
    return keras.models.Model(inputs=inputs, outputs=[*model.outputs[1:], detections], name=name)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: fizyr/keras-retinanet
Commit Name: 59f713480fdd443bcec294459ffe8149ba49d140
Time: 2017-11-20
Author: j.c.gaiser@delftrobotics.com
File Name: keras_retinanet/models/retinanet.py
Class Name:
Method Name: retinanet_bbox


Project Name: shenweichen/DeepCTR
Commit Name: 8182ea386e6529a1a2294d8e2d33fc040d0cbfb2
Time: 2019-07-21
Author: wcshen1994@163.com
File Name: deepctr/inputs.py
Class Name:
Method Name: get_linear_logit


Project Name: fizyr/keras-retinanet
Commit Name: 2b617dcb3196d90f40e846120aaa0523446ecc24
Time: 2017-08-24
Author: j.c.gaiser@delftrobotics.com
File Name: keras_retinanet/models/resnet.py
Class Name:
Method Name: RetinaNet