Hi,
I would like to visualize certain transforms in the preprocessing either during sanity_check or before training starts (via Trainer.logger; specifically: log through wandb). The preocessing naturally happens in Dataset, used together with LightningDataModule. All the training logic is implemented separately as LightningModule.
My questions is: since the Trainer.logger is not accessible in LightningDataModule and Dataset, how to efficiently implement this logging or visualization? Or are there existing hooks for this purpose?
Many thanks in advance!