Lightning-AI / tutorials

Collection of Pytorch lightning tutorial form as rich scripts automatically transformed to ipython notebooks.
https://lightning-ai.github.io/tutorials
Apache License 2.0
279 stars 78 forks source link

replace tensorboard by CSVLogger #19

Closed Borda closed 1 month ago

Borda commented 3 years ago

🚀 Feature

Replace inline tensorboard (TB) with a simple chart from standard CSLoggers

Motivation

The inline tensorboard is a cool interactive tool, but:

Pitch

A reader would also see the progress immediately, maybe add plotting to the csvlogger?

Alternatives

Some other simple logger?

Additional context

InCogNiTo124 commented 3 years ago

I'd like to work on this :)

Borda commented 3 years ago

Cool, let's do all in one PR 🐰

InCogNiTo124 commented 3 years ago

@Borda im not sure how do I add plotting to the csv logger?

Borda commented 3 years ago

@Borda im not sure how do I add plotting to the csv logger?

see the visualization over here: https://github.com/Borda/kaggle_plant-pathology/blob/main/notebooks/Plant-Pathology-with-Lightning.ipynb

kaushikb11 commented 3 years ago

@Borda Why not add both the loggers?

Borda commented 3 years ago

@Borda Why not add both the loggers?

good point, we can :]

InCogNiTo124 commented 3 years ago

@Borda Why not add both the loggers?

good point, we can :]

Doesn't that kill the point:

  • TB inside notebooks is a heavy JS object (~30MB)
Borda commented 3 years ago

yes, the suggestion is use both loggers but show the chart only from the CSV logger but if a user wants he would have also logs in tensor board and show/open it separately

InCogNiTo124 commented 2 years ago

Hey, I'm just letting you know that I won't be able to finish this up. Someone else should take it. sorry!