Step logs access from the Callback for more than once logging during a single epoch. #8793
Unanswered
DomainFlag
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 1 reply
-
Dear @DomainFlag, I am not sure to fully understand what you are trying to do. Mind sharing a pseudo code of your use-case. The metrics are stored within ResultCollection objects stored for each loop. You can access one for example by |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, how is it possible to have logs access (metrics) from the Callback for more than once logging during a single epoch? As of now, I am using the
pytorch_lightning.callbacks
where using thecallback_metrics
whenever and epoch (train/validation) ends by managing multiple progress bars. But as the complexity increases and the number of batches have increased too, it would be very handy for me to have logging not only epoch wise, but also batch wise where all the metrics are aggregated based on someprint_every
that is less than the number of batches used for training.How can I do it? I am looking in the worst-case scenario for a variable maybe inside Trainer that has the list of all the step-wise metrics, that I can tackle during the callback call
on_train_batch_end
?Beta Was this translation helpful? Give feedback.
All reactions