Skip to content

Commit

Permalink
fix anchor assign
Browse files Browse the repository at this point in the history
  • Loading branch information
ijkguo committed Aug 14, 2018
1 parent 612d7c9 commit f8fc69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symdata/anchor.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def assign(self, anchors, gt_boxes, im_height, im_width):
labels[max_overlaps >= self._fg_overlap] = 1

# bg anchors: anchor with overlap < iou thresh
labels[max_overlaps < self._bg_overlap] = 1
labels[max_overlaps < self._bg_overlap] = 0

# sanity check
fg_inds = np.where(labels == 1)[0]
Expand Down

0 comments on commit f8fc69e

Please sign in to comment.