DanielDDDS commited on
Commit
a4c75b9
·
verified ·
1 Parent(s): c891d03

Upload configs/training_config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. configs/training_config.yaml +167 -0
configs/training_config.yaml ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ data:
2
+ num_maps: 1000
3
+ num_workers: 4
4
+ random_seed: 42
5
+ resolution: 512
6
+ split_ratios:
7
+ test: 0.15
8
+ train: 0.7
9
+ val: 0.15
10
+ test_split: 0.15
11
+ train_split: 0.7
12
+ val_split: 0.15
13
+ discopygal:
14
+ default_robot_length: 30
15
+ default_robot_width: 20
16
+ k_nn: 15
17
+ num_landmarks: 1000
18
+ trap_penalty: 10.0
19
+ viability_threshold: 0.5
20
+ evaluation:
21
+ compute_per_direction: true
22
+ compute_per_robot_size: true
23
+ metrics:
24
+ - iou
25
+ - dice
26
+ - accuracy
27
+ - precision
28
+ - recall
29
+ speed_benchmark_maps: 50
30
+ speed_benchmark_repeats: 5
31
+ threshold: 0.5
32
+ logging:
33
+ log_interval: 10
34
+ use_wandb: false
35
+ wandb_entity: null
36
+ wandb_project: topological-traps
37
+ model:
38
+ activation: null
39
+ architecture: unet
40
+ classes: 4
41
+ encoder: resnet34
42
+ encoder_name: resnet34
43
+ encoder_weights: imagenet
44
+ in_channels: 3
45
+ out_channels: 4
46
+ oracle:
47
+ batch_size: 100
48
+ directions:
49
+ - N
50
+ - S
51
+ - E
52
+ - W
53
+ kernel_margin: 1.2
54
+ num_workers: 16
55
+ use_parallel: true
56
+ paths:
57
+ checkpoint_dir: checkpoints
58
+ checkpoints: checkpoints
59
+ figures: outputs/figures
60
+ figures_dir: outputs/figures
61
+ labels_dir: data/labels
62
+ log_dir: logs
63
+ logs: logs
64
+ manifest: data/manifest.csv
65
+ manifest_path: data/manifest.csv
66
+ output_dir: outputs
67
+ processed_dir: data/processed
68
+ processed_maps: data/processed
69
+ project_root: .
70
+ raw_maps: data/raw_maps
71
+ raw_maps_dir: data/raw_maps
72
+ reports: outputs/results
73
+ results_dir: outputs/results
74
+ robot:
75
+ test_only_sizes:
76
+ - - 25
77
+ - 18
78
+ train_sizes:
79
+ - - 20
80
+ - 15
81
+ - - 30
82
+ - 20
83
+ - - 40
84
+ - 25
85
+ robot_sizes:
86
+ all_sizes:
87
+ - - 20
88
+ - 15
89
+ - - 30
90
+ - 20
91
+ - - 40
92
+ - 25
93
+ - - 25
94
+ - 18
95
+ test_only:
96
+ - - 25
97
+ - 18
98
+ test_only_sizes:
99
+ - - 25
100
+ - 18
101
+ train:
102
+ - - 20
103
+ - 15
104
+ - - 30
105
+ - 20
106
+ - - 40
107
+ - 25
108
+ train_sizes:
109
+ - - 20
110
+ - 15
111
+ - - 30
112
+ - 20
113
+ - - 40
114
+ - 25
115
+ slurm:
116
+ account: null
117
+ cpu_memory: 32G
118
+ default_time: 08:00:00
119
+ gpu_memory: 12G
120
+ gpu_partition: studentkillable
121
+ num_cpus: 4
122
+ num_gpus: 1
123
+ partition: studentkillable
124
+ training:
125
+ batch_size: 16
126
+ early_stopping_patience: 5
127
+ epochs: 50
128
+ gradient_clip: 1.0
129
+ gradient_clip_val: 1.0
130
+ learning_rate: 0.0001
131
+ loss:
132
+ bce_weight: 0.5
133
+ dice_weight: 0.5
134
+ type: dice_bce
135
+ mixed_precision: true
136
+ num_epochs: 30
137
+ num_workers: 4
138
+ optimizer: adamw
139
+ pin_memory: true
140
+ prefetch_factor: 2
141
+ scheduler:
142
+ T_max: 50
143
+ eta_min: 1.0e-06
144
+ factor: 0.5
145
+ min_lr: 1.0e-06
146
+ patience: 5
147
+ step_size: 30
148
+ type: cosine
149
+ use_amp: true
150
+ warmup_epochs: 3
151
+ weight_decay: 0.0001
152
+ visualization:
153
+ colormap:
154
+ obstacle:
155
+ - 50
156
+ - 50
157
+ - 50
158
+ trap:
159
+ - 200
160
+ - 50
161
+ - 50
162
+ viable:
163
+ - 50
164
+ - 200
165
+ - 50
166
+ dpi: 150
167
+ figure_format: png