Fix missing parameter in "Accessing datamodule attributes" trick in the README (#219)

This commit is contained in:
Łukasz Zalewski authored and GitHub committed 2021-12-10 17:59:40 +01:00
1 parent 30c69b81c7
commit 0feda07965
1 file changed
+1 -1
+1 -1
View File
@@ -976,7 +976,7 @@ The `config.yaml` from `.hydra` folder contains all overriden parameters and sec
```python ```python
# ./src/train.py # ./src/train.py
model = hydra.utils.instantiate(config.model, dm_conf=config.datamodule) model = hydra.utils.instantiate(config.model, dm_conf=config.datamodule, _recursive_=False)
``` ```
Now you can access any datamodule config part like this: Now you can access any datamodule config part like this: