Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change docstring location and learning hyperparams for object detection #2699

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/otx/algo/detection/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Custom model implementations for detection task."""
# Copyright (C) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""Custom model implementations for detection task."""
jaegukhyun marked this conversation as resolved.
Show resolved Hide resolved

from . import backbones, heads

Expand Down
2 changes: 1 addition & 1 deletion src/otx/algo/detection/backbones/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Custom backbone implementations for detection task."""
# Copyright (C) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""Custom backbone implementations for detection task."""

from . import pytorchcv_backbones

Expand Down
3 changes: 1 addition & 2 deletions src/otx/algo/detection/backbones/pytorchcv_backbones.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"""Backbone of pytorchcv for mmdetection backbones."""

# Copyright (C) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
"""Backbone of pytorchcv for mmdetection backbones."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion src/otx/algo/detection/heads/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Custom head implementations for detection task."""
# Copyright (C) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""Custom head implementations for detection task."""

from .custom_anchor_generator import SSDAnchorGeneratorClustered
from .custom_ssd_head import CustomSSDHead
Expand Down
2 changes: 1 addition & 1 deletion src/otx/algo/detection/heads/custom_anchor_generator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Custom Anchor Generator for SSD."""
# Copyright (C) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
"""Custom Anchor Generator for SSD."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion src/otx/algo/detection/heads/custom_ssd_head.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Custom SSD head for OTX template."""
# Copyright (C) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""Custom SSD head for OTX template."""

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion src/otx/recipe/detection/yolox_l.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@ model:
optimizer:
_target_: torch.optim.SGD
_partial_: true
lr: 0.001
lr: 0.0005
weight_decay: 0.001
momentum: 0.9
2 changes: 1 addition & 1 deletion src/otx/recipe/detection/yolox_s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@ model:
optimizer:
_target_: torch.optim.SGD
_partial_: true
lr: 0.001
lr: 0.0005
weight_decay: 0.001
momentum: 0.9
2 changes: 1 addition & 1 deletion src/otx/recipe/detection/yolox_x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@ model:
optimizer:
_target_: torch.optim.SGD
_partial_: true
lr: 0.001
lr: 0.0001
weight_decay: 0.001
momentum: 0.9