Accessing logged values in a callback during run

Hi-

I’m trying to access a logged value during a run (in a callback). When I examine run.summary it does not seem to have any of the values logged by self.log in either train_step() or validation_step(). Is there a correct pattern for accessing logged values during a run.

My use case is trying to keep track of the minimum of a metric. I already use define_metric, but I want to see the minimum as a plot over step or epoch as opposed to just in the summary. Essentially trying to call torchmetrics.MinMetric in the on_validation_epoch_end() callback - but to update that metric I need to feed it the previously logged value for another metric.

Thanks.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.