ultralytics 8.0.33 security updates and fixes (#896)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mert Can Demir <validatedev@gmail.com>
This commit is contained in:
parent
a5a3ce88b3
commit
254adfa652
24 changed files with 87 additions and 61 deletions
|
|
@ -202,6 +202,7 @@ def entrypoint(debug=''):
|
|||
LOGGER.info(CLI_HELP_MSG)
|
||||
return
|
||||
|
||||
# Add tasks, modes, special, and special with dash keys, i.e. -help, --help
|
||||
tasks = 'detect', 'segment', 'classify'
|
||||
modes = 'train', 'val', 'predict', 'export'
|
||||
special = {
|
||||
|
|
@ -211,6 +212,7 @@ def entrypoint(debug=''):
|
|||
'settings': lambda: yaml_print(USER_CONFIG_DIR / 'settings.yaml'),
|
||||
'cfg': lambda: yaml_print(DEFAULT_CFG_PATH),
|
||||
'copy-cfg': copy_default_cfg}
|
||||
special = {**special, **{f'-{k}': v for k, v in special.items()}, **{f'--{k}': v for k, v in special.items()}}
|
||||
|
||||
overrides = {} # basic overrides, i.e. imgsz=320
|
||||
for a in merge_equals_args(args): # merge spaces around '=' sign
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue