Logo

Reproducible Deep Learning (PhD Course) - Shared screen with speaker view
Simone Scardapane
02:23:33
https://github.com/facebookresearch/hydra
Giorgio Barnabò
02:32:07
could you pls copy and paste here?
Simone Scardapane
02:32:13
data:path: "data/ESC-50"sample_rate: 8000train_folds: [1,2,3]val_folds: [4]test_folds: [5]model:base_filters: 32num_classes: 50optim:lr: 3e-4trainer:seed: 0gpus: 1max_epochs: 10
Giorgio Barnabò
02:32:15
thank you very much!
Simone Scardapane
02:36:42
@hydra.main(config_path='configs', config_name='default')def train(cfg: DictConfig):
Simone Scardapane
02:53:35
path = Path(get_original_cwd()) / Path(cfg.data.path)
Simone Scardapane
03:06:29
logger = logging.getLogger(__name__)
Simone Scardapane
03:11:10
logger.info(OmegaConf.to_yaml(cfg))
Simone Scardapane
03:13:20
https://hydra.cc/docs/plugins/colorlog
Simone Scardapane
03:20:31
git log --graph --abbrev-commit --decorate
Simone Scardapane
03:25:16
12:30