New to lightning too, but I'm suspecting that since your args don't mention a specific logger, the pl trainer will instantiate the default one. Excerpt from the trainer docstring:logger: Logger (or iterable collection of loggers) for experiment tracking. A ``True`` value uses the default ``TensorBoardLogger``. ``False`` will disable logging. If multiple loggers are provided and the
save_dirproperty of that logger is not set, local files (checkpoints, profiler traces, etc.) are saved in ``default_root_dir`` rather than in the ``log_dir`` of any of the individual loggers.
TimelyPenguin76 Okay, nice! Will try that. Thanks 🙂
You can get your task logger any time with get_logger()
function, like in this example:
https://github.com/allegroai/clearml/blob/master/examples/reporting/text_reporting.py#L73
TimelyPenguin76 I see. But when I try to fetch the underline logger from Pytorch Lightning, I see its type is SummaryWriter
. Do you know how can I “extract” ClearMLLogger
from PL, after a task is initiated?
Hi MinuteCamel2 ,
It’s all part of the auto-magic 🪄 after Task.init
, the pytorch lightning functions are bind with ClearML, so it will report all the outputs to your ClearML app 🙂