Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
nmhaddad committed Feb 25, 2024
1 parent 2f41051 commit 8587b3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fast_track/detectors/third_party/yolov8/yolov8_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self,
visualize: bool = False,
conf_thres: float = 0.25,
iou_thres: float = 0.45,
classes: Optional[int] = None,
classes: Optional[List[int]] = None,
agnostic: bool = False,
multi_label: bool = False,
labels: List[List[Union[int, float, torch.Tensor]]] = (),
Expand Down
2 changes: 1 addition & 1 deletion fast_track/detectors/third_party/yolov9/yolov9_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self,
visualize: bool = False,
conf_thres: float = 0.25,
iou_thres: float = 0.45,
classes: Optional[int] = None,
classes: Optional[List[int]] = None,
agnostic: bool = False,
multi_label: bool = False,
labels: List[List[Union[int, float, torch.Tensor]]] = (),
Expand Down

0 comments on commit 8587b3a

Please sign in to comment.