Choose LearningRateMonitor file name

Hi, I’m using a custom logger (which inherits from CSVLogger, has a file handler & stream handler) and I’m monitoring the learning rate.

Both print their outputs to metrics.csv, and so the csv looks highly messy.
How do I set the LearningRateMonitor to print to another file?

I’m using pytorch lightning 1.8.3post1


@yonatansmn This is not possible with the learning rate monitor callback, because it just logs to the logger that is configured with the Trainer.

In general, the CSVLogger is not a good choice when logging a lot of metrics, because the csv file is hard to parse for a human. I would recommend the TensorBoardLogger or another one from the supported loggers since they can visualize each metric individually in a plot.