Markus Sagen06/30/2023, 2:00 PM
marrrcin06/30/2023, 2:04 PM
Markus Sagen07/01/2023, 7:20 AM
I then want to pass around this initialised “run” parameter to the nodes without having to initialise it again. Would the simplest method be to define it in as a argument in
import wandb run = wandb.init(project="visualize-sklearn")
and add a custom resolver for OmegaConf, or is there a more convenient method?
marrrcin07/03/2023, 7:21 AM
in the first node, then just pass it as an explicit input to every other node that would need to do sth with W&B 2. Initialize the
in the hook (e.g.
) and pass it implicitly to every node with
implemented in the same hook class https://docs.kedro.org/en/stable/hooks/introduction.html). 3. Initialize the
in the hook (again,
) but do not pass it to nodes and just use
as it’s a global singleton https://docs.wandb.ai/guides/runs#create-a-run There are probably a few other options too
you can capture references to catalog/parameters/config loader, which would be a good place to get some configurations that can be used in the
to initialize wandb