File size: 357 Bytes
ff88fc5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
import logging
import sys
from omegaconf import DictConfig
import hydra
log = logging.getLogger(__name__)
@hydra.main(config_path="conf", config_name="config")
def experiment(cfg: DictConfig) -> None:
print(cfg.pretty())
if __name__ == "__main__":
sys.exit(experiment())
|