self.writer.set_step((epoch - 1) * len(self.valid_data_loader) + batch_idx, "valid")
self.valid_metrics.update("loss", loss.item())
for met in self.metric_ftns:
self.valid_metrics.update(met.__name__, met(output, target))
self.writer.add_image("input", make_grid(data.cpu(), nrow=8, normalize=True))
// add histogram of model parameters to the tensorboard
for name, p in self.model.named_parameters():