wandb logger.experiment does not seem to be the same as run object in wandb API
❓ Questions and Help
What is your question?
I use pytorch lightning + wandb logger. I do not know how to extract history of training (training losses, validation losses...) from pytorch lightning or from the logger.
What have you tried?
In the docs, the logger has a property (experiment) returning a wandb run object
https://pytorch-lightning.readthedocs.io/en/latest/loggers.html?highlight=wandb#weights-and-biases
this Run object looks like the run object described here
https://docs.wandb.com/library/reference/wandb_api#run
but it is missing some elements (no member called state) and missing some funcionalities. For example, the member history is not callable, so I cannot obtain information about the training history.
What's your environment?

OS: Linux
Packaging: pip
Version latest versions in pip (wandb 0.10, pytorch-lightning 0.9.1)