-
When using hydra I was able to log (mlflow, w&b) all my parameters from the DictConfig before training started (since they were passed to the function). With hydra-zen I do not see a way to access the config that was used to instantiate objects in the task function. Is there a way to get DictConfig before executing the training (for logging purposes with all overrides)?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I see now that there is extra variable |
Beta Was this translation helpful? Give feedback.
-
(reopening to improve visibility for others) |
Beta Was this translation helpful? Give feedback.
You might also consider using
zen
'spre_call
argument. This accepts a function that is passed the full config before calling the main task function that you are using:The advantage to this is that you don't need to modify
main_fn
's signature/body to add logging and you can uselog_config
across applications.