if isinstance(trainer.logger, LoggerCollection):
for logger in trainer.logger:
if isinstance(logger, WandbLogger):
return logger
because pytorch_lightning does not have LoggerCollection anymore.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
[ ] Yes
If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?
Pull Request
Description
Fixes # 1
Removed
because pytorch_lightning does not have LoggerCollection anymore.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?
Checklist: