Skip to content

Commit

Permalink
Merge pull request #384 from jancio/master
Browse files Browse the repository at this point in the history
Log hyperparameters in tensorboard
  • Loading branch information
glenn-jocher committed Jul 14, 2020
2 parents a1c8406 + 120d40c commit 1e94bcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e94bcf

Please sign in to comment.