61b2f77f15a3d04f779bf4ccaf998a84eaf08bb5,keras_retinanet/models/resnet.py,,RetinaNet,#Any#Any#Any#Any#,49
Before Change
// run the regression subnet
reg = p
for l in regression_layers:
reg = l(reg)
reg = keras.layers.Reshape((-1, 4), name="boxes_reshaped_{}".format(i))(reg)
regression = reg if regression == None else keras.layers.Concatenate(axis=1)([regression, reg])
// compute classification and regression losses
classification = keras.layers.Lambda(lambda x: keras.backend.softmax(x), name="classification_softmax")(classification)
After Change
// compute labels and bbox_reg_targets
lb, r, a = keras_retinanet.layers.AnchorTarget(stride=s, name="boxes_{}".format(i))([cls, im_info, gt_boxes])
anchors = a if anchors == None else keras.layers.Concatenate(axis=0)([anchors, a])
labels = lb if labels == None else keras.layers.Concatenate(axis=0)([labels, lb])
regression_target = r if regression_target == None else keras.layers.Concatenate(axis=0)([regression_target, r])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: fizyr/keras-retinanet
Commit Name: 61b2f77f15a3d04f779bf4ccaf998a84eaf08bb5
Time: 2017-08-16
Author: j.c.gaiser@delftrobotics.com
File Name: keras_retinanet/models/resnet.py
Class Name:
Method Name: RetinaNet
Project Name: XifengGuo/CapsNet-Keras
Commit Name: 37f599f61067cc6947c9bf783eace05227c0f450
Time: 2017-11-13
Author: guoxifeng1990@163.com
File Name: capsulenet.py
Class Name:
Method Name: CapsNet
Project Name: keras-team/keras
Commit Name: eb89648ac93c8b8503a1c1059707caad8ec71f78
Time: 2021-01-15
Author: scottzhu@google.com
File Name: keras/applications/resnet.py
Class Name:
Method Name: block3