Merge pull request #384 from jancio/master

Log hyperparameters in tensorboard
This commit is contained in:
Glenn Jocher authored and GitHub committed 2020-07-14 12:32:27 -07:00
commit 1e94bcf3d2
1 file changed
+1
+1
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