mirror of
https://github.com/clearml/clearml
synced 2025-05-07 22:34:30 +00:00
Fix HPO CLI doesn't work when --params-override
is not specified
This commit is contained in:
parent
8ef25a0030
commit
72d9b22e0d
@ -57,6 +57,7 @@ def setup_parser(parser):
|
|||||||
"--params-search",
|
"--params-search",
|
||||||
type=str,
|
type=str,
|
||||||
nargs="*",
|
nargs="*",
|
||||||
|
default=[],
|
||||||
help="List of parameters to search optimal value of. Each parameter must be a JSON having the following format:\n"
|
help="List of parameters to search optimal value of. Each parameter must be a JSON having the following format:\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
' "name": str, # Name of the paramter you want to optimize\n'
|
' "name": str, # Name of the paramter you want to optimize\n'
|
||||||
@ -87,6 +88,7 @@ def setup_parser(parser):
|
|||||||
"--params-override",
|
"--params-override",
|
||||||
type=str,
|
type=str,
|
||||||
nargs="*",
|
nargs="*",
|
||||||
|
default=[],
|
||||||
help="List of parameters to override (won't be searched, just override default). "
|
help="List of parameters to override (won't be searched, just override default). "
|
||||||
"Each parameter must be a JSON having the following format:\n"
|
"Each parameter must be a JSON having the following format:\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user