-
Hi, I would like to have a dict like the following in my main script: cfg = { "{key}": {"value"}, . . . "trainer": { "callbacks": [ModelSummary(), ModelCheckpoint(), ...], "devices": 2, "accelerator": "gpu" } } I have the following folder structure for the configs:
Im trying to merge the defaults:
- _self_
- callbacks/model_summary
- callbacks/model_checkpoint Then including defaults:
- _self_
- datamodule/monai_holdout_datamodule
- lightningmodule/unet_like
- trainer/standard
datamodule_type: monai_hold_out
lightningmodule_type: unet_like However this is not working, any proposal?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
@YerePhy please see my comment here for a recommendation on how to compose a list of callbacks. |
Beta Was this translation helpful? Give feedback.
-
hi @YerePhy - could you try to create a smaller repro that only involves config that causing issues? that'd be easier for us to repro on our side and debug together. |
Beta Was this translation helpful? Give feedback.
-
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.` How did this problem be solved? |
Beta Was this translation helpful? Give feedback.
hi @YerePhy - could you try to create a smaller repro that only involves config that causing issues? that'd be easier for us to repro on our side and debug together.