Skip to content

Commit 06142b6

Browse files
jaegukhyuneunwoosh
andauthored
Update detection docs (#2335)
* Update detection docs * Revert template id changes * Fix wrong template id * Update docs/source/guide/explanation/algorithms/object_detection/object_detection.rst Co-authored-by: Eunwoo Shin <[email protected]> * Update docs/source/guide/explanation/algorithms/object_detection/object_detection.rst Co-authored-by: Eunwoo Shin <[email protected]> --------- Co-authored-by: Eunwoo Shin <[email protected]>
1 parent 4a8b079 commit 06142b6

File tree

18 files changed

+137
-101
lines changed

18 files changed

+137
-101
lines changed

docs/source/guide/explanation/algorithms/object_detection/object_detection.rst

Lines changed: 79 additions & 48 deletions
Large diffs are not rendered by default.

docs/source/guide/get_started/cli_commands.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ Example to find ready-to-use templates for the detection task:
3232
.. code-block::
3333
3434
(otx) ...$ otx find --task detection
35-
+-----------+-----------------------------------+-------+-------------------------------------------------------------------------------+
36-
| TASK | ID | NAME | BASE PATH |
37-
+-----------+-----------------------------------+-------+-------------------------------------------------------------------------------+
38-
| DETECTION | Custom_Object_Detection_Gen3_ATSS | ATSS | src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/template.yaml |
39-
| DETECTION | Custom_Object_Detection_Gen3_SSD | SSD | src/otx/algorithms/detection/configs/detection/mobilenetv2_ssd/template.yaml |
40-
| DETECTION | Custom_Object_Detection_YOLOX | YOLOX | src/otx/algorithms/detection/configs/detection/cspdarknet_yolox/template.yaml |
41-
+-----------+-----------------------------------+-------+-------------------------------------------------------------------------------+
35+
+-----------+-----------------------------------------------+------------------+-------------------------------------------------------------------------------+
36+
| TASK | ID | NAME | BASE PATH |
37+
+-----------+-----------------------------------------------+------------------+-------------------------------------------------------------------------------+
38+
| DETECTION | Custom_Object_Detection_Gen3_SSD | SSD | src/otx/algorithms/detection/configs/detection/mobilenetv2_ssd/template.yaml |
39+
| DETECTION | Custom_Object_Detection_YOLOX | YOLOX | src/otx/algorithms/detection/configs/detection/cspdarknet_yolox/template.yaml |
40+
| DETECTION | Custom_Object_Detection_Gen3_ATSS | MobileNetV2-ATSS | src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/template.yaml |
41+
+-----------+-----------------------------------------------+------------------+-------------------------------------------------------------------------------+
4242
4343
4444
Example to find supported torchvision backbones for the detection task:

docs/source/guide/tutorials/base/how_to_train/detection.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ The list of supported templates for object detection is available with the comma
134134
.. code-block::
135135
136136
(otx) ...$ otx find --template --task DETECTION
137-
+-----------+-----------------------------------+-------+-------------------------------------------------------------------------------+
138-
| TASK | ID | NAME | PATH |
139-
+-----------+-----------------------------------+-------+-------------------------------------------------------------------------------+
140-
| DETECTION | Custom_Object_Detection_YOLOX | YOLOX | src/otx/algorithms/detection/configs/detection/cspdarknet_yolox/template.yaml |
141-
| DETECTION | Custom_Object_Detection_Gen3_SSD | SSD | src/otx/algorithms/detection/configs/detection/mobilenetv2_ssd/template.yaml |
142-
| DETECTION | Custom_Object_Detection_Gen3_ATSS | ATSS | src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/template.yaml |
143-
+-----------+-----------------------------------+-------+-------------------------------------------------------------------------------+
137+
+-----------+-----------------------------------------------+------------------+-------------------------------------------------------------------------------+
138+
| TASK | ID | NAME | BASE PATH |
139+
+-----------+-----------------------------------------------+------------------+-------------------------------------------------------------------------------+
140+
| DETECTION | Custom_Object_Detection_Gen3_SSD | SSD | src/otx/algorithms/detection/configs/detection/mobilenetv2_ssd/template.yaml |
141+
| DETECTION | Custom_Object_Detection_YOLOX | YOLOX | src/otx/algorithms/detection/configs/detection/cspdarknet_yolox/template.yaml |
142+
| DETECTION | Custom_Object_Detection_Gen3_ATSS | MobileNetV2-ATSS | src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/template.yaml |
143+
+-----------+-----------------------------------------------+------------------+-------------------------------------------------------------------------------+v
144144
145145
.. _detection_workspace:
146146

@@ -165,15 +165,15 @@ Let's prepare the object detection workspace running the following command:
165165
(otx) ...$ otx build Custom_Object_Detection_Gen3_ATSS --train-data-roots data/wgisd
166166
167167
# or its name
168-
(otx) ...$ otx build ATSS --train-data-roots data/wgisd
168+
(otx) ...$ otx build MobileNetV2-ATSS --train-data-roots data/wgisd
169169
170170
# or its path
171171
(otx) ...$ otx build otx/algorithms/detection/configs/detection/mobilenetv2_atss/template.yaml --train-data-roots data/wgisd
172172
173173
...
174174
[*] Workspace Path: otx-workspace-DETECTION
175175
[*] Load Model Template ID: Custom_Object_Detection_Gen3_ATSS
176-
[*] Load Model Name: ATSS
176+
[*] Load Model Name: MobileNetV2-ATSS
177177
[*] - Updated: otx-workspace-DETECTION/model.py
178178
[*] - Updated: otx-workspace-DETECTION/data_pipeline.py
179179
[*] - Updated: otx-workspace-DETECTION/tile_pipeline.py

src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Initialization of ATSS model for Detection Task."""
1+
"""Initialization of MobileNetV2-ATSS model for Detection Task."""
22

33
# Copyright (C) 2022 Intel Corporation
44
#

src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/data_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Data Pipeline of ATSS model for Detection Task."""
1+
"""Data Pipeline of MobileNetV2-ATSS model for Detection Task."""
22

33
# Copyright (C) 2022 Intel Corporation
44
#

src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""MMDeploy config of ATSS model for Detection Task."""
1+
"""MMDeploy config of MobileNetV2-ATSS model for Detection Task."""
22

33
_base_ = ["../../base/deployments/base_detection_dynamic.py"]
44

src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Model configuration of ATSS model for Detection Task."""
1+
"""Model configuration of MobileNetV2-ATSS model for Detection Task."""
22

33
# Copyright (C) 2022 Intel Corporation
44
#

src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/semisl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Initialization of ATSS model for Semi-SL Detection Task."""
1+
"""Initialization of MobileNetV2-ATSS model for Semi-SL Detection Task."""
22

33
# Copyright (C) 2022 Intel Corporation
44
#

src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/semisl/data_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Data Pipeline of ATSS model for Semi-Supervised Learning Detection Task."""
1+
"""Data Pipeline of MobileNetV2-ATSS model for Semi-Supervised Learning Detection Task."""
22

33
# Copyright (C) 2022 Intel Corporation
44
#

src/otx/algorithms/detection/configs/detection/mobilenetv2_atss/semisl/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Model configuration of ATSS model for Detection Task."""
1+
"""Model configuration of MobileNetV2-ATSS model for Detection Task."""
22

33
# Copyright (C) 2022 Intel Corporation
44
#

0 commit comments

Comments
 (0)