033155659fb262bda4e0c0de2453381748a9ab71,deepplantphenomics/deepplantpheno.py,DPPModel,add_fully_connected_layer,#DPPModel#Any#Any#Any#,861
Before Change
layer_name = "fc%d" % self.__num_layers_fc
self.__log("Adding fully connected layer %s..." % layer_name)
reshape = isinstance(self.__last_layer(), layers.convLayer) or isinstance(self.__last_layer(),
layers.poolingLayer)
if regularization_coefficient is None and self.__reg_coeff is not None:
regularization_coefficient = self.__reg_coeff
if regularization_coefficient is None and self.__reg_coeff is None:
After Change
layer_name = "fc%d" % self.__num_layers_fc
self.__log("Adding fully connected layer %s..." % layer_name)
reshape = self.__last_layer_outputs_volume()
if regularization_coefficient is None and self.__reg_coeff is not None:
regularization_coefficient = self.__reg_coeff
if regularization_coefficient is None and self.__reg_coeff is None:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances Project Name: p2irc/deepplantphenomics
Commit Name: 033155659fb262bda4e0c0de2453381748a9ab71
Time: 2018-01-31
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: add_fully_connected_layer
Project Name: p2irc/deepplantphenomics
Commit Name: 033155659fb262bda4e0c0de2453381748a9ab71
Time: 2018-01-31
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: add_fully_connected_layer
Project Name: p2irc/deepplantphenomics
Commit Name: 033155659fb262bda4e0c0de2453381748a9ab71
Time: 2018-01-31
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: add_output_layer
Project Name: p2irc/deepplantphenomics
Commit Name: 033155659fb262bda4e0c0de2453381748a9ab71
Time: 2018-01-31
Author: jubbens@gmail.com
File Name: deepplantphenomics/deepplantpheno.py
Class Name: DPPModel
Method Name: add_moderation_layer