1de812fb2b372d03763d84d38636ae87799b09d8,luminoth/models/fasterrcnn/rpn.py,RPN,_build,#RPN#,90

Before Change


        variable_summaries(rpn_cls_prob, "rpn_cls_prob", ["rpn"])
        variable_summaries(rpn_bbox_pred, "rpn_bbox_pred", ["rpn"])
        variable_summaries(rpn_feature, "rpn_feature", ["rpn"])
        variable_summaries(
            rpn_cls_score_original, "rpn_cls_score_original", ["rpn"])
        variable_summaries(
            rpn_bbox_pred_original, "rpn_bbox_pred_original", ["rpn"])

        // Layer summaries.
        layer_summaries(self._rpn, ["rpn"])
        layer_summaries(self._rpn_cls, ["rpn"])
        layer_summaries(self._rpn_bbox, ["rpn"])

        return prediction_dict

After Change


        variable_summaries(rpn_cls_prob, "rpn_cls_prob", ["rpn"])
        variable_summaries(rpn_bbox_pred, "rpn_bbox_pred", ["rpn"])

        if self._debug:
            variable_summaries(rpn_feature, "rpn_feature", ["rpn"])
            variable_summaries(
                rpn_cls_score_original, "rpn_cls_score_original", ["rpn"])
            variable_summaries(
                rpn_bbox_pred_original, "rpn_bbox_pred_original", ["rpn"])

            // Layer summaries.
            layer_summaries(self._rpn, ["rpn"])
            layer_summaries(self._rpn_cls, ["rpn"])
            layer_summaries(self._rpn_bbox, ["rpn"])

        return prediction_dict

    def loss(self, prediction_dict):
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: tryolabs/luminoth
Commit Name: 1de812fb2b372d03763d84d38636ae87799b09d8
Time: 2017-11-10
Author: javirey@gmail.com
File Name: luminoth/models/fasterrcnn/rpn.py
Class Name: RPN
Method Name: _build


Project Name: tryolabs/luminoth
Commit Name: 1de812fb2b372d03763d84d38636ae87799b09d8
Time: 2017-11-10
Author: javirey@gmail.com
File Name: luminoth/models/fasterrcnn/rcnn.py
Class Name: RCNN
Method Name: _build