* introduce different running modes: default, debug, experiment * fix pytorch installation in setup_conda.sh * fix incorrect calculation of precision, recall and f1 score in wandb callback * add `_self_` to config.yaml for compatibility with hydra1.1 * fix setting seed in `train.py` so it's skipped when `seed=null` * add exception message when trying to use wandb callbacks with `trainer.fast_dev_run=true` * change `axis=-1` to `dim=-1` in LogImagePredictions callback * add 'Reproducibilty' section to README.md
32 lines
679 B
YAML
32 lines
679 B
YAML
# @package _global_
|
|
|
|
# to execute this experiment run:
|
|
# python run.py experiment=example_simple.yaml
|
|
|
|
defaults:
|
|
- 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
|
|
|
|
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]
|