Difference between experiment.config and config

I’m trying to use Weights&Biases to log my experiments. There are two places with config which set the configuration for the experiment. Can any please help me understand what is the difference between these two?

mind elaborate a bit more There are two places with config which set the configuration for the experiment.?

Yes, there are two places to set the configuration, and I’m a little confused.

  1. Inside the wandb library can be accessed with wandb.config
  2. Inside the Lightning library can be accessed with wandb_logger.experiment.config (wandb_logger is an object of class pytorch_lightning.loggers.WandbLogger

both are the same. experiment is basically wandb.init only.