I'm trying to train the VarNetModule with a PL Trainer that has two logger objects. This fails in line 116 of mri_module, where the code is accessing the SummaryWriter object in the logger.
It would be great to have that code a bit more flexible: For example, if the loggers are a list, search for one that is a TensorBoardLoger, and only on those call add_image. Happy to PR that.
I'm trying to train the
VarNetModule
with a PL Trainer that has two logger objects. This fails in line 116 ofmri_module
, where the code is accessing theSummaryWriter
object in the logger.It would be great to have that code a bit more flexible: For example, if the loggers are a list, search for one that is a
TensorBoardLoger
, and only on those calladd_image
. Happy to PR that.