Files
audio-driven-face-animation/configs/experiment/example_simple.yaml
T
Łukasz Zalewski 9468ef91c5 Release/1.2 (#198)
* update template to pytorch 1.10+ and lightning 1.5+
* add experiment mode to all experiment configs and implement special logging paths for experiment mode
* add `MaxMetric` to model, for computation of best so far validation accuracy
* add RichProgressBar to default callbacks
* get rid of trick for preventing auto hparam logging, since lightning now supports it with `self.save_hyperparameters(logger=False)`
* add `self.save_hyperparameters()` to datamodule since lightinng now supports it
* deprecate Apex support
* deprecate bash script for conda setup
* change `terminate_on_nan` debug option to `detect_anomaly` for compatibility with lightning v1.5
* specify model and datamodule during `trainer.test()`, for compatibility with lightning v1.5
* remove `configs/trainer/all_params.yaml`
* make hyperparameter optimization compatible with lightning v1.5
* general documentation improvements
2021-11-05 12:38:44 +01:00

37 lines
813 B
YAML

# @package _global_
# to execute this experiment run:
# python run.py experiment=example_simple.yaml
defaults:
- override /mode: exp.yaml
- override /trainer: default.yaml
- override /model: mnist_model.yaml
- override /datamodule: mnist_datamodule.yaml
- override /callbacks: default.yaml
- override /logger: null
# all parameters below will be merged with parameters from default configurations set above
# this allows you to overwrite only specified parameters
# name of the run determines folder name in logs
# it's also accessed by loggers
name: "example_simple"
seed: 12345
trainer:
min_epochs: 1
max_epochs: 10
gradient_clip_val: 0.5
model:
lin1_size: 128
lin2_size: 256
lin3_size: 64
lr: 0.002
datamodule:
batch_size: 64
train_val_test_split: [55_000, 5_000, 10_000]