Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ozora-ogino committed Jan 8, 2022
1 parent 423c00f commit aa1b43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def postprocess(self, output_data, box_type: str) -> Tuple[np.ndarray]:

if box_type == "xyxy":
# xywh -> xyxyx
boxes = self.to_xyxy(box_type)
boxes = self.to_xyxy(boxes)

# Filter by confidence threshold.
idxs = np.where(conf > self.conf_thr)
Expand Down

0 comments on commit aa1b43e

Please sign in to comment.