52676902cc01f0c4e1b2adf87a0d469751363960,luminoth/utils/image_vis.py,,draw_batch_proposals,#Any#Any#,258

Before Change



def draw_batch_proposals(pred_dict, display_anchor=True):
    print("Batch proposals (background or foreground) (score is classification, blue = foreground, red = background, green = GT)")
    print("This only displays the images on the batch (256). The number displayed is the classification score (green is > 0.5, red <= 0.5)")
    print("{} are displayed".format("Anchors" if display_anchor else "Final proposals"))
    scores = pred_dict["rpn_prediction"]["rpn_cls_prob"]
    scores = scores[:, 1]
    bbox_pred = pred_dict["rpn_prediction"]["rpn_bbox_pred"]

After Change




def draw_batch_proposals(pred_dict, display_anchor=True):
    tf.logging.debug("Batch proposals (background or foreground) (score is classification, blue = foreground, red = background, green = GT)")
    tf.logging.debug("This only displays the images on the batch (256). The number displayed is the classification score (green is > 0.5, red <= 0.5)")
    tf.logging.debug("{} are displayed".format("Anchors" if display_anchor else "Final proposals"))
    scores = pred_dict["rpn_prediction"]["rpn_cls_prob"]
    scores = scores[:, 1]
    bbox_pred = pred_dict["rpn_prediction"]["rpn_bbox_pred"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: tryolabs/luminoth
Commit Name: 52676902cc01f0c4e1b2adf87a0d469751363960
Time: 2017-08-01
Author: javirey@gmail.com
File Name: luminoth/utils/image_vis.py
Class Name:
Method Name: draw_batch_proposals


Project Name: tryolabs/luminoth
Commit Name: 52676902cc01f0c4e1b2adf87a0d469751363960
Time: 2017-08-01
Author: javirey@gmail.com
File Name: luminoth/utils/image_vis.py
Class Name:
Method Name: draw_rcnn_cls_batch


Project Name: tryolabs/luminoth
Commit Name: 52676902cc01f0c4e1b2adf87a0d469751363960
Time: 2017-08-01
Author: javirey@gmail.com
File Name: luminoth/utils/image_vis.py
Class Name:
Method Name: draw_batch_proposals


Project Name: tryolabs/luminoth
Commit Name: 52676902cc01f0c4e1b2adf87a0d469751363960
Time: 2017-08-01
Author: javirey@gmail.com
File Name: luminoth/utils/image_vis.py
Class Name:
Method Name: draw_rcnn_reg_batch_errors