ashleve / lightning-hydra-template

PyTorch Lightning + Hydra. A very user-friendly template for ML experimentation. ⚡🔥⚡

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: `_self_` at the end of `defaults` list

shenoynikhil opened this issue · comments

This is just a question and not a feature/bug request. In the callbacks config, How does having _self_, in the end over here allow for overriding? I was facing a bug when it was at the top of the list.

commented

It determines the order in which configs override each other.

If _self_ is at the beginning, then the config fields specified in callbacks/default.yaml will be overriden by the same config fields specified in subconfigs attached in the defaults list.

That makes sense!