Skip to content

Commit

Permalink
Update proposal_target.py (apache#12709)
Browse files Browse the repository at this point in the history
  • Loading branch information
np-csu authored and sandeep-krishnamurthy committed Oct 1, 2018
1 parent 454ec3c commit c595f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/rcnn/symnet/proposal_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def sample_rois(rois, gt_boxes, num_classes, rois_per_image, fg_rois_per_image,
:param fg_rois_per_image: foreground roi number
:param fg_overlap: overlap threshold for fg rois
:param box_stds: std var of bbox reg
:return: (labels, rois, bbox_targets, bbox_weights)
:return: (rois, labels, bbox_targets, bbox_weights)
"""
overlaps = bbox_overlaps(rois[:, 1:], gt_boxes[:, :4])
gt_assignment = overlaps.argmax(axis=1)
Expand Down

0 comments on commit c595f2d

Please sign in to comment.