train.py, providing values that the script parses:
command key in the YAML file. Based on the previous example, the configuration appears as follows:
${args} key expands to all parameters in the sweep configuration, formatted for argparse as --param1 value1 --param2 value2.
For additional arguments outside of argparse, implement the following:
Depending on the environment,
python might refer to Python 2. To ensure invocation of Python 3, use python3 in the command configuration: