How do I have two different run files to log to the same sweep?

I noticed that the config file can have the program to run. I want all my runs for two different methods (and therefore use two different files and want to avoid refactoring). Can’t the agent take the file path? (I know it can’t) Or some alternative?

export SWEEPID=$(wandb sweep config.yaml)
NUM=10
wandb agent train_sl.py --count $NUM $SWEEPID
wandb agent train_maml.py --count $NUM $SWEEPID

cross: wandb - 0 Vote How do I have two different run files to log to the same sweep? - Stack Overflow

Hi @brando, thank you for writing in with your question. When generating a sweep via config file, the sweep controller only considers a single method and program. There isn’t currently a method around this but we are working on expanding more controls over sweeps and flexibility of initializing and calling them. I’ve added you to list of users requsting this and will keep you updated once it’s been implemented. Cheers!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.