configuration almost finished
This commit is contained in:
1 parent
2726557906
commit
fe81cbb304
17 files changed
+117
-152
No files matched your search
@@ -0,0 +1,12 @@
|
||||
from omegaconf import DictConfig, OmegaConf
|
||||
import hydra.conf.hydra.output
|
||||
|
||||
|
||||
@hydra.main(config_path="configs/", config_name="project_config.yaml")
|
||||
def my_app(cfg: DictConfig) -> None:
|
||||
# print(cfg)
|
||||
print(OmegaConf.to_yaml(cfg))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
my_app()
|
||||
Reference in new issue
Block a user