-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
I have the problem that in Tensorboard the metrics are not loaded correctly (the column is always empty), although the scalars are saved correctly. I am working with torch.utils.tensorboard.
Relevant code:
writer = SummaryWriter(log_dir=f'./logs/studies/{study_name}/')
In the training loop:
writer.add_scalar(tag='validation/min_loss', scalar_value=min_val_loss, global_step=trial.number)
Add the hyperparameter to the summary writer (args_dict is a dictionary with all hyperparameters)
writer.add_hparams(hparam_dict=args_dict, metric_dict={'validation/min_loss': min_val_loss}, run_name=run_name)
writer.close()
Metadata
Metadata
Assignees
Labels
No labels
