Skip to content

Commit

Permalink
Fix unused parameters in utils/anchor
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhiyuan Chen authored Dec 10, 2019
1 parent 052b967 commit 4df3ca4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysot/utils/anchor.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def __init__(self, stride, ratios, scales, image_center=0, size=0):
self.stride = stride
self.ratios = ratios
self.scales = scales
self.image_center = 0
self.size = 0
self.image_center = image_center
self.size = size

self.anchor_num = len(self.scales) * len(self.ratios)

Expand Down

0 comments on commit 4df3ca4

Please sign in to comment.