The current way of adding hyperparameters is to do it via markdown text:
writer = SummaryWriter(f"runs/{run_name}")
writer.add_text(
"hyperparameters",
"|param|value|\n|-|-|\n%s" % ("\n".join([f"|{key}|{value}|" for key, value in vars(args).items()])),
)
Problem Description
The current way of adding hyperparameters is to do it via markdown text:
It is however to use the tensorboard native hyperparameters plugin, which unfortunately also has ugly code... see https://github.com/pytorch/pytorch/issues/37738#issuecomment-1124497827
produces the following demo, which I guess is pretty cool
https://user-images.githubusercontent.com/5555347/167988018-50c94e3f-14bc-4af9-bebb-24e95d9cd2fb.mov
Checklist
poetry install
(see CleanRL's installation guideline.CC @araffin and @Miffyli and who might be interested in this hidden feature.