generated from ashleve/lightning-hydra-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdev_rotnet_cnn_basic_cb55_10.yaml
76 lines (64 loc) · 1.88 KB
/
dev_rotnet_cnn_basic_cb55_10.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# @package _global_
# to execute this experiment run:
# python run.py +experiment=exp_example_full
defaults:
- /mode: development.yaml
- /plugins: null
- /task: classification.yaml
- /loss: crossentropyloss.yaml
- /metric:
- accuracy.yaml
- /model/backbone: cnn_basic.yaml
- /model/header: single_layer.yaml
- /optimizer: adam.yaml
- /callbacks:
- check_compatibility.yaml
- model_checkpoint.yaml
- watch_model_wandb.yaml
- /logger:
- wandb.yaml # set logger here or use command line (e.g. `python run.py logger=wandb`)
- csv.yaml
- _self_
# we override default configurations with nulls to prevent them from loading at all
# instead we define all modules and their paths directly in this config,
# so everything is stored in one place for more readibility
seed: 42
train: True
test: False
predict: False
trainer:
_target_: pytorch_lightning.Trainer
accelerator: 'gpu'
devices: -1
strategy: 'ddp_find_unused_parameters_false'
min_epochs: 1
max_epochs: 3
enable_model_summary: full
precision: 16
task:
confusion_matrix_log_every_n_epoch: 1
confusion_matrix_val: False
confusion_matrix_test: False
model:
header:
in_channels: 109512
datamodule:
_target_: src.datamodules.RotNet.datamodule_cropped.RotNetDivaHisDBDataModuleCropped
data_dir: /net/research-hisdoc/datasets/semantic_segmentation/datasets_cropped/CB55-10-segmentation
crop_size: 256
num_workers: 4
batch_size: 16
shuffle: True
drop_last: True
data_folder_name: data
callbacks:
model_checkpoint:
filename: ${checkpoint_folder_name}dev-rotnet-basic-cnn-cb55-10
watch_model:
log_freq: 1
logger:
wandb:
name: 'dev-rotnet-basic-cnn-cb55-10'
tags: [ "best_model", "USL" ]
group: 'dev-runs'
notes: "Testing"