ashleve / lightning-hydra-template

PyTorch Lightning + Hydra. A very user-friendly template for ML experimentation. ⚡🔥⚡

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use multiple logger to log msg to a file and wandb?

slyviacassell opened this issue · comments

I just want to use multiple loggers to log the msg to different places. Can anybody give me some suggestions?

Solved. The pytorch-lightning has a solution for multiple loggers.

commented

Here'a a config for multiple loggers:
https://github.com/ashleve/lightning-hydra-template/blob/main/configs/logger/many_loggers.yaml

python train.py logger=many_loggers

Thanks for your reply! I will try it.