Control log_dict's on_epoch log name #7209
-
Hey! I tried to change to using the new way of logging through |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @FluidSense, Could you try just updating the def training_step(self, batch, batch_idx):
logits = self(x)
self.train_metrics.update(logits, y)
def train_epoch_end(self, outputs):
self.log_dict(self.train_metrics.compute()) |
Beta Was this translation helpful? Give feedback.
Hi @FluidSense,
Could you try just updating the
MetricCollection
during the_step
method and then log in_epoch_end
method. Something like: