modelzoo.common.run_utils.cli_parser.update_params_from_args#

modelzoo.common.run_utils.cli_parser.update_params_from_args(args: argparse.Namespace, params: dict, sysadmin_params: dict)[source]#

Update params in-place with the arguments from args.

Parameters
  • args – The namespace containing args from the commandline.

  • params – The params to be updated.

  • first_parse – Indicates whether to keep in the params path.