864bda5b11a8dfe58a617eb0a4cfdbdf537f7b98,keras_retinanet/models/resnet.py,,resnet_retinanet,#Any#Any#Any#,60
Before Change
resnet = keras_resnet.models.ResNet152(inputs, include_top=False, freeze_bn=True)
// create the full model
model = retinanet.retinanet_bbox(inputs=inputs, num_classes=num_classes, backbone=resnet,
backbone_layers=["res3d_relu", "res4f_relu", "res5c_relu"], **kwargs)
return model
After Change
// create the full model
layer_names = ["res3d_relu", "res4f_relu", "res5c_relu"]
layer_outputs = [resnet.get_layer(name).output for name in layer_names]
model = retinanet.retinanet_bbox(inputs=inputs, num_classes=num_classes,
backbone_layers=layer_outputs, **kwargs)
return model
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 12
Instances
Project Name: fizyr/keras-retinanet
Commit Name: 864bda5b11a8dfe58a617eb0a4cfdbdf537f7b98
Time: 2018-03-07
Author: cgratie@gmail.com
File Name: keras_retinanet/models/resnet.py
Class Name:
Method Name: resnet_retinanet
Project Name: fizyr/keras-retinanet
Commit Name: 864bda5b11a8dfe58a617eb0a4cfdbdf537f7b98
Time: 2018-03-07
Author: cgratie@gmail.com
File Name: keras_retinanet/models/vgg.py
Class Name:
Method Name: vgg_retinanet
Project Name: fizyr/keras-retinanet
Commit Name: 7decd7e360d4b7db142c83ff863eb3c534e122b6
Time: 2018-03-07
Author: cgratie@gmail.com
File Name: keras_retinanet/models/resnet.py
Class Name:
Method Name: resnet_retinanet
Project Name: fizyr/keras-retinanet
Commit Name: 864bda5b11a8dfe58a617eb0a4cfdbdf537f7b98
Time: 2018-03-07
Author: cgratie@gmail.com
File Name: keras_retinanet/models/mobilenet.py
Class Name:
Method Name: mobilenet_retinanet