Skip to content

Commit

Permalink
Update export parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sungchul2 committed Sep 26, 2024
1 parent 57235b1 commit 8cb7e5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/otx/algo/detection/heads/yolo_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ class YOLOHeadModule(BaseDenseHead):
csp_args (dict[str, Any], optional): Arguments for CSP blocks. Defaults to None.
aux_cfg (dict[str, Any], optional): Configuration for auxiliary head. Defaults to None.
with_nms (bool, optional): Whether to use NMS. Defaults to True.
min_confidence (float, optional): Minimum confidence for NMS. Defaults to 0.05.
min_iou (float, optional): Minimum IoU for NMS. Defaults to 0.9.
min_confidence (float, optional): Minimum confidence for NMS. Defaults to 0.1.
min_iou (float, optional): Minimum IoU for NMS. Defaults to 0.65.
"""

def __init__(
Expand Down
2 changes: 1 addition & 1 deletion src/otx/algo/detection/yolov9.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def _exporter(self) -> OTXModelExporter:
std=self.std,
resize_mode="fit_to_window_letterbox",
pad_value=114,
swap_rgb=True,
swap_rgb=False,
via_onnx=True,
onnx_export_configuration={
"input_names": ["image"],
Expand Down

0 comments on commit 8cb7e5a

Please sign in to comment.