Skip to content

Commit c63d3ac

Browse files
author
Songki Choi
committed
Hide AlgoBackend parameter group from GUI
Signed-off-by: Songki Choi <[email protected]>
1 parent 98d7e2a commit c63d3ac

File tree

8 files changed

+9
-10
lines changed

8 files changed

+9
-10
lines changed

otx/algorithms/action/configs/classification/configuration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ algo_backend:
295295
visible_in_ui: false
296296
warning: null
297297
type: PARAMETER_GROUP
298-
visible_in_ui: true
298+
visible_in_ui: false
299299
type: CONFIGURABLE_PARAMETERS
300300
visible_in_ui: true
301301
pot_parameters:

otx/algorithms/action/configs/detection/configuration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ algo_backend:
295295
visible_in_ui: false
296296
warning: null
297297
type: PARAMETER_GROUP
298-
visible_in_ui: true
298+
visible_in_ui: false
299299
type: CONFIGURABLE_PARAMETERS
300300
visible_in_ui: true
301301
pot_parameters:

otx/algorithms/classification/configs/configuration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,4 +425,4 @@ algo_backend:
425425
visible_in_ui: false
426426
warning: null
427427
type: PARAMETER_GROUP
428-
visible_in_ui: true
428+
visible_in_ui: false

otx/algorithms/detection/configs/detection/configuration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ algo_backend:
318318
visible_in_ui: false
319319
warning: null
320320
type: PARAMETER_GROUP
321-
visible_in_ui: true
321+
visible_in_ui: false
322322
type: CONFIGURABLE_PARAMETERS
323323
visible_in_ui: true
324324
pot_parameters:

otx/algorithms/detection/configs/instance_segmentation/configuration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ algo_backend:
318318
visible_in_ui: false
319319
warning: null
320320
type: PARAMETER_GROUP
321-
visible_in_ui: true
321+
visible_in_ui: false
322322
type: CONFIGURABLE_PARAMETERS
323323
visible_in_ui: true
324324
pot_parameters:

otx/algorithms/detection/configs/rotated_detection/configuration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ algo_backend:
280280
visible_in_ui: false
281281
warning: null
282282
type: PARAMETER_GROUP
283-
visible_in_ui: true
283+
visible_in_ui: false
284284
type: CONFIGURABLE_PARAMETERS
285285
visible_in_ui: true
286286
pot_parameters:

otx/algorithms/segmentation/configs/configuration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ algo_backend:
348348
visible_in_ui: false
349349
warning: null
350350
type: PARAMETER_GROUP
351-
visible_in_ui: true
351+
visible_in_ui: false
352352
type: CONFIGURABLE_PARAMETERS
353353
visible_in_ui: true
354354
pot_parameters:

otx/cli/utils/parser.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ def _gen_param_help(prefix: str, cur_params: Dict) -> Dict:
8585
continue
8686

8787
if "default_value" not in val.keys():
88-
if "visible_in_ui" in val and val["visible_in_ui"]:
89-
x = _gen_param_help(prefix + f"{k}.", val)
90-
cur_help.update(x)
88+
x = _gen_param_help(prefix + f"{k}.", val)
89+
cur_help.update(x)
9190
else:
9291
assert isinstance(val["default_value"], (int, float, str))
9392
help_str = "\n".join([f"{kk}: {val[kk]}" for kk in help_keys if kk in val.keys()])

0 commit comments

Comments
 (0)