I want to use W&B sweep parameters to dynamically construct a command line argument. How can I do this?
Modifying the W&B's example, suppose I have the following sweep:
program:
train.py
method: grid
parameters:
batch_size:
values: [8, 10, 12]
lr:
values: [0.0001, 0.001]
command:
- ${env}
- python3
- ${program}
- ${args}
Suppose I want to pass in an additional flag like --output_dir /home/users/me/outputs/bs={args.bs}_lr={args.lr}
. How can I do this?