I usually track runs based on the job id of the HPC. So I was thinking I wanted to tack that value to the end to the nice 2 word name that wandb gives. How do I do that?
Also, I am interested in knowing the recommended way to name runs or the common way wandb users, developers etc use this.
note: I am already using the config to track the hyperparams and the group name to group similar experiments. I don’t usually use jobtype actually.
current script:
if hasattr(args, 'log_to_wandb'):
if args.log_to_wandb:
# os.environ['WANDB_MODE'] = 'offline'
import wandb
# - experiment name
experiment_name = args.wandb_group
# - set run name
run_name = None
if hasattr(args, 'jobid'):
if args.jobid is not None:
run_name: str = f'jobid={str(args.jobid)}'
# - initialize wandb
wandb.init(project=args.wandb_project,
entity=args.wandb_entity,
# job_type="job_type",
name=run_name,
group=experiment_name
)
wandb.config.update(args)