Hi! I’m using Wandb sweeps for a project based on Detectron2 configs
sweep_configuration = {
'method': 'grid',
'name': 'Bipartite',
'command': ['python', '${program}', '--config', yaml_conf, '--eval-only', '${args_no_hyphens}'],
'program': f"train_net_video.py",
'description': '',
'parameters': {
'MODEL.X': {
'value': 'y'
}
}
}
which translates to
python train_net_video.py --config yaml_conf --eval-only MODEL.X=y
But Detectron2 expects the following:
python train_net_video.py --config yaml_conf --eval-only MODEL.X y
Is there any way to separate ${args_no_hyphens}
keys and values with whitespace instead of =
?