Merge pull request from jancio/master

Log hyperparameters in tensorboard
pull/408/head
Glenn Jocher 2020-07-14 12:32:27 -07:00 committed by GitHub
commit 1e94bcf3d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ def train(hyp):
# model._initialize_biases(cf.to(device))
plot_labels(labels, save_dir=log_dir)
if tb_writer:
tb_writer.add_hparams(hyp, {})
tb_writer.add_histogram('classes', c, 0)
# Check anchors