...
Running a sweep is a bit more complicated using the command line.
You will first need to create a configuration file base_config.json
and a sweep_config.yaml
. The entrypoint for the sweep should be sweep_config.yaml run_flow.py
or whatever you name it in step 2.
You will then need to download the script located here and name it
run_flow.py
or whatever.Set
BASE_CONFIG_PATH
to the config pathCreate a sweep using the config you just created:
wandb sweep --project sweeps_demo sweep_config.yaml
copy the sweep_idwandb agent sweep_id
(using the sweep_id you just created).