rsi commited on
Commit
99b1a00
·
1 Parent(s): 4d2e6bd

upload all results

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. ffl/224/v0_all_bs4x16/.hydra/config.yaml +251 -0
  2. ffl/224/v0_all_bs4x16/.hydra/hydra.yaml +169 -0
  3. ffl/224/v0_all_bs4x16/.hydra/overrides.yaml +8 -0
  4. ffl/224/v0_all_bs4x16/predictions/best_val_iou.json +3 -0
  5. ffl/224/v0_all_bs4x16/predictions_all_test/acm.tol_1/best_val_iou.json +3 -0
  6. ffl/224/v0_all_bs4x16/predictions_all_test/best_val_iou.json +3 -0
  7. ffl/224/v4_fusion_bs4x16_mnv64/.hydra/config.yaml +256 -0
  8. ffl/224/v4_fusion_bs4x16_mnv64/.hydra/hydra.yaml +170 -0
  9. ffl/224/v4_fusion_bs4x16_mnv64/.hydra/overrides.yaml +9 -0
  10. ffl/224/v4_fusion_bs4x16_mnv64/checkpoints/best_val_iou.pth +3 -0
  11. ffl/224/v4_fusion_bs4x16_mnv64/predictions/best_val_iou.json +3 -0
  12. ffl/224/v4_fusion_bs4x16_mnv64/predictions_NY_val/acm.tol_1/best_val_iou.json +3 -0
  13. ffl/224/v4_fusion_bs4x16_mnv64/predictions_NY_val/best_val_iou.json +3 -0
  14. ffl/224/v4_fusion_bs4x16_mnv64/predictions_NZ_val/acm.tol_1/best_val_iou.json +3 -0
  15. ffl/224/v4_fusion_bs4x16_mnv64/predictions_NZ_val/best_val_iou.json +3 -0
  16. ffl/224/v4_fusion_bs4x16_mnv64/predictions_Switzerland_test/acm.tol_1/best_val_iou.json +3 -0
  17. ffl/224/v4_fusion_bs4x16_mnv64/predictions_Switzerland_test/best_val_iou.json +3 -0
  18. ffl/224/v4_fusion_bs4x16_mnv64/predictions_Switzerland_val/acm.tol_1/best_val_iou.json +3 -0
  19. ffl/224/v4_fusion_bs4x16_mnv64/predictions_Switzerland_val/best_val_iou.json +3 -0
  20. ffl/224/v4_image_bs4x16/.hydra/config.yaml +256 -0
  21. ffl/224/v4_image_bs4x16/.hydra/hydra.yaml +170 -0
  22. ffl/224/v4_image_bs4x16/.hydra/overrides.yaml +9 -0
  23. ffl/224/v4_image_bs4x16/checkpoints/best_val_iou.pth +3 -0
  24. ffl/224/v4_image_bs4x16/predictions/best_val_iou.json +3 -0
  25. ffl/224/v4_image_bs4x16/predictions_Switzerland_test/acm.tol_1/best_val_iou.json +3 -0
  26. ffl/224/v4_image_bs4x16/predictions_Switzerland_test/best_val_iou.json +3 -0
  27. ffl/224/v4_image_bs4x16/predictions_Switzerland_val/acm.tol_1/best_val_iou.json +3 -0
  28. ffl/224/v4_image_bs4x16/predictions_Switzerland_val/best_val_iou.json +3 -0
  29. ffl/224/v5_lidar_bs2x16_mnv128/.hydra/config.yaml +236 -0
  30. ffl/224/v5_lidar_bs2x16_mnv128/.hydra/hydra.yaml +167 -0
  31. ffl/224/v5_lidar_bs2x16_mnv128/.hydra/overrides.yaml +6 -0
  32. ffl/224/v5_lidar_bs2x16_mnv128/checkpoints/best_val_iou.pth +3 -0
  33. ffl/224/v5_lidar_bs2x16_mnv128/predictions/best_val_iou.json +3 -0
  34. ffl/224/v5_lidar_bs2x16_mnv128/predictions_Switzerland_test/acm.tol_1/best_val_iou.json +3 -0
  35. ffl/224/v5_lidar_bs2x16_mnv128/predictions_Switzerland_test/best_val_iou.json +3 -0
  36. ffl/224/v5_lidar_bs2x16_mnv16/.hydra/config.yaml +236 -0
  37. ffl/224/v5_lidar_bs2x16_mnv16/.hydra/hydra.yaml +167 -0
  38. ffl/224/v5_lidar_bs2x16_mnv16/.hydra/overrides.yaml +6 -0
  39. ffl/224/v5_lidar_bs2x16_mnv16/checkpoints/best_val_iou.pth +3 -0
  40. ffl/224/v5_lidar_bs2x16_mnv16/predictions/best_val_iou.json +3 -0
  41. ffl/224/v5_lidar_bs2x16_mnv16/predictions_Switzerland_test/acm.tol_1/best_val_iou.json +3 -0
  42. ffl/224/v5_lidar_bs2x16_mnv16/predictions_Switzerland_test/best_val_iou.json +3 -0
  43. ffl/224/v5_lidar_bs2x16_mnv16/predictions_Switzerland_val/acm.tol_1/best_val_iou.json +3 -0
  44. ffl/224/v5_lidar_bs2x16_mnv16/predictions_Switzerland_val/best_val_iou.json +3 -0
  45. ffl/224/v5_lidar_bs2x16_mnv256/.hydra/config.yaml +244 -0
  46. ffl/224/v5_lidar_bs2x16_mnv256/.hydra/hydra.yaml +169 -0
  47. ffl/224/v5_lidar_bs2x16_mnv256/.hydra/overrides.yaml +8 -0
  48. ffl/224/v5_lidar_bs2x16_mnv256/checkpoints/best_val_iou.pth +3 -0
  49. ffl/224/v5_lidar_bs2x16_mnv256/predictions/best_val_iou.json +3 -0
  50. ffl/224/v5_lidar_bs2x16_mnv256/predictions_Switzerland_test/acm.tol_1/best_val_iou.json +3 -0
ffl/224/v0_all_bs4x16/.hydra/config.yaml ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ host:
2
+ name: jeanzay
3
+ data_root: /lustre/fswork/projects/rech/cso/uku93eu/data
4
+ update_pbar_every: 60
5
+ run_type:
6
+ name: release
7
+ batch_size: 16
8
+ train_subset: null
9
+ val_subset: null
10
+ test_subset: null
11
+ logging: INFO
12
+ num_workers: 16
13
+ log_to_wandb: true
14
+ polygonization:
15
+ method:
16
+ - acm
17
+ common_params:
18
+ init_data_level: 0.5
19
+ simple_method:
20
+ data_level: 0.5
21
+ tolerance:
22
+ - 1.0
23
+ seg_threshold: 0.5
24
+ min_area: 10
25
+ asm_method:
26
+ init_method: skeleton
27
+ data_level: 0.5
28
+ loss_params:
29
+ coefs:
30
+ step_thresholds:
31
+ - 0
32
+ - 100
33
+ - 200
34
+ - 300
35
+ data:
36
+ - 1.0
37
+ - 0.1
38
+ - 0.0
39
+ - 0.0
40
+ crossfield:
41
+ - 0.0
42
+ - 0.05
43
+ - 0.0
44
+ - 0.0
45
+ length:
46
+ - 0.1
47
+ - 0.01
48
+ - 0.0
49
+ - 0.0
50
+ curvature:
51
+ - 0.0
52
+ - 0.0
53
+ - 1.0
54
+ - 0.0
55
+ corner:
56
+ - 0.0
57
+ - 0.0
58
+ - 0.5
59
+ - 0.0
60
+ junction:
61
+ - 0.0
62
+ - 0.0
63
+ - 0.5
64
+ - 0.0
65
+ curvature_dissimilarity_threshold: 2
66
+ corner_angles:
67
+ - 45
68
+ - 90
69
+ - 135
70
+ corner_angle_threshold: 22.5
71
+ junction_angles:
72
+ - 0
73
+ - 45
74
+ - 90
75
+ - 135
76
+ junction_angle_weights:
77
+ - 1
78
+ - 0.01
79
+ - 0.1
80
+ - 0.01
81
+ junction_angle_threshold: 22.5
82
+ lr: 0.1
83
+ gamma: 0.995
84
+ device: cuda
85
+ tolerance:
86
+ - 1
87
+ seg_threshold: 0.5
88
+ min_area: 10
89
+ acm_method:
90
+ steps: 500
91
+ data_level: 0.5
92
+ data_coef: 0.1
93
+ length_coef: 0.4
94
+ crossfield_coef: 0.5
95
+ poly_lr: 0.01
96
+ warmup_iters: 100
97
+ warmup_factor: 0.1
98
+ device: cuda
99
+ tolerance:
100
+ - 1
101
+ seg_threshold: 0.5
102
+ min_area: 10
103
+ dataset:
104
+ name: lidarpoly
105
+ size: ${..experiment.encoder.in_size}
106
+ path: ${host.data_root}/${.name}/${.size}
107
+ annotations:
108
+ train: ${..path}/annotations_${...country}_train.json
109
+ val: ${..path}/annotations_${...country}_val.json
110
+ test: ${..path}/annotations_${...country}_test.json
111
+ ffl_stats:
112
+ train: ${..path}/ffl/train/stats-${...country}.pt
113
+ val: ${..path}/ffl/val/stats-${...country}.pt
114
+ test: ${..path}/ffl/test/stats-${...country}.pt
115
+ train_subset: ${..run_type.train_subset}
116
+ val_subset: ${..run_type.val_subset}
117
+ test_subset: ${..run_type.test_subset}
118
+ experiment:
119
+ encoder:
120
+ name: early_fusion_vit_cnn
121
+ use_images: true
122
+ use_lidar: true
123
+ in_size: 224
124
+ in_height: ${.in_size}
125
+ in_width: ${.in_size}
126
+ in_voxel_size:
127
+ x: 8
128
+ 'y': 8
129
+ z: 100
130
+ max_num_points_per_voxel: 64
131
+ max_num_voxels:
132
+ train: 784
133
+ test: 784
134
+ out_feature_size: ${..model.decoder.in_feature_size}
135
+ out_feature_height: ${.out_feature_size}
136
+ out_feature_width: ${.out_feature_size}
137
+ out_feature_dim: ${..model.decoder.in_feature_dim}
138
+ vit:
139
+ type: vit_small_patch${..patch_size}_${..in_size}.dino
140
+ checkpoint_file: ${....host.data_root}/checkpoints/backbones/dino_deitsmall8_pretrain.pth
141
+ pretrained: true
142
+ patch_size: 8
143
+ patch_feature_size: 28
144
+ patch_feature_height: ${.patch_feature_size}
145
+ patch_feature_width: ${.patch_feature_size}
146
+ patch_feature_dim: 384
147
+ image_mean:
148
+ - 0.0
149
+ - 0.0
150
+ - 0.0
151
+ image_std:
152
+ - 1.0
153
+ - 1.0
154
+ - 1.0
155
+ image_max_pixel_value: 255.0
156
+ augmentations:
157
+ - D4
158
+ - ColorJitter
159
+ - GaussNoise
160
+ - Normalize
161
+ max_points_per_voxel: 64
162
+ model:
163
+ name: ffl
164
+ compute_seg: true
165
+ compute_crossfield: true
166
+ seg:
167
+ compute_interior: true
168
+ compute_edge: false
169
+ compute_vertex: false
170
+ decoder:
171
+ in_feature_size: ${...encoder.in_size}
172
+ in_feature_width: ${.in_feature_size}
173
+ in_feature_height: ${.in_feature_size}
174
+ in_feature_dim: ${if:${eq:${.in_feature_size},512}, 32, 256}
175
+ point_pillars:
176
+ out_channels:
177
+ - ${...decoder.in_feature_dim}
178
+ - ${...decoder.in_feature_dim}
179
+ - ${...decoder.in_feature_dim}]
180
+ upsample_strides:
181
+ - 4
182
+ - 8
183
+ - 16
184
+ loss:
185
+ multi:
186
+ epoch_thresholds:
187
+ - 0
188
+ - 5
189
+ - 10
190
+ weights:
191
+ seg: 1
192
+ crossfield_align: 1
193
+ crossfield_align90: 0.5
194
+ crossfield_smooth: 0.005
195
+ seg_interior_crossfield:
196
+ - 0
197
+ - 0
198
+ - 0.2
199
+ seg_edge_crossfield:
200
+ - 0
201
+ - 0
202
+ - 0.2
203
+ seg_edge_interior:
204
+ - 0
205
+ - 0
206
+ - 0.2
207
+ seg:
208
+ bce_coef: 1.0
209
+ dice_coef: 0.2
210
+ use_freq: false
211
+ use_dist: false
212
+ use_size: false
213
+ w0: 50
214
+ sigma: 10
215
+ type: bool
216
+ batch_size: ${...run_type.batch_size}
217
+ start_epoch: 0
218
+ num_epochs: 200
219
+ milestone: 0
220
+ learning_rate: 0.0001
221
+ weight_decay: 0.0
222
+ gamma: 0.95
223
+ eval:
224
+ patch_size: null
225
+ patch_overlap: 200
226
+ seg_threshold: 0.5
227
+ name: v0_all_bs4x16
228
+ group_name: v2_${.model.name}
229
+ output_dir: ${.host.data_root}/${.experiment.model.name}_outputs/${.dataset.name}/${.experiment.encoder.in_size}/${.experiment.name}
230
+ checkpoint: latest
231
+ checkpoint_file: null
232
+ save_best: true
233
+ save_latest: true
234
+ save_every: 10
235
+ val_every: 1
236
+ best_val_loss: 10000000.0
237
+ best_val_iou: 0.0
238
+ multi_gpu: true
239
+ device: cuda
240
+ log_to_wandb: true
241
+ num_workers: ${.run_type.num_workers}
242
+ update_pbar_every: ${.host.update_pbar_every}
243
+ country: all
244
+ use_lidar: ${.experiment.encoder.use_lidar}
245
+ use_images: ${.experiment.encoder.use_images}
246
+ eval:
247
+ split: val
248
+ pred_file: ${..output_dir}/predictions_${..country}_${.split}/${..checkpoint}.json
249
+ modes:
250
+ - iou
251
+ eval_file: results/metrics
ffl/224/v0_all_bs4x16/.hydra/hydra.yaml ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${...output_dir}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - log_to_wandb=true
116
+ - host=jz
117
+ - run_type=release
118
+ - multi_gpu=true
119
+ - checkpoint=latest
120
+ - experiment=ffl_fusion
121
+ - experiment.name=v0_all_bs4x16
122
+ - country=all
123
+ job:
124
+ name: train
125
+ chdir: null
126
+ override_dirname: checkpoint=latest,country=all,experiment.name=v0_all_bs4x16,experiment=ffl_fusion,host=jz,log_to_wandb=true,multi_gpu=true,run_type=release
127
+ id: ???
128
+ num: ???
129
+ config_name: config
130
+ env_set: {}
131
+ env_copy: []
132
+ config:
133
+ override_dirname:
134
+ kv_sep: '='
135
+ item_sep: ','
136
+ exclude_keys: []
137
+ runtime:
138
+ version: 1.3.2
139
+ version_base: '1.3'
140
+ cwd: /lustre/fswork/projects/rech/cso/uku93eu/python/PixelsPointsPolygons
141
+ config_sources:
142
+ - path: hydra.conf
143
+ schema: pkg
144
+ provider: hydra
145
+ - path: /lustre/fswork/projects/rech/cso/uku93eu/python/PixelsPointsPolygons/config
146
+ schema: file
147
+ provider: main
148
+ - path: ''
149
+ schema: structured
150
+ provider: schema
151
+ output_dir: /lustre/fswork/projects/rech/cso/uku93eu/data/ffl_outputs/lidarpoly/224/v0_all_bs4x16
152
+ choices:
153
+ experiment: ffl_fusion
154
155
+ [email protected]: early_fusion_vit_cnn
156
+ dataset: lidarpoly
157
+ polygonization: asm_acm
158
+ run_type: release
159
+ host: jz
160
+ hydra/env: default
161
+ hydra/callbacks: null
162
+ hydra/job_logging: default
163
+ hydra/hydra_logging: default
164
+ hydra/hydra_help: default
165
+ hydra/help: default
166
+ hydra/sweeper: basic
167
+ hydra/launcher: basic
168
+ hydra/output: default
169
+ verbose: false
ffl/224/v0_all_bs4x16/.hydra/overrides.yaml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ - log_to_wandb=true
2
+ - host=jz
3
+ - run_type=release
4
+ - multi_gpu=true
5
+ - checkpoint=latest
6
+ - experiment=ffl_fusion
7
+ - experiment.name=v0_all_bs4x16
8
+ - country=all
ffl/224/v0_all_bs4x16/predictions/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7ad2fabae69d80b301d7915e30504ec824b8c8a9cc86ca4fcf294d02a16e49c
3
+ size 1063718
ffl/224/v0_all_bs4x16/predictions_all_test/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98821b1ab587eafdf3d472275776bf28b9132c4cb8a92186a479a254eb30cb2e
3
+ size 22985950
ffl/224/v0_all_bs4x16/predictions_all_test/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98821b1ab587eafdf3d472275776bf28b9132c4cb8a92186a479a254eb30cb2e
3
+ size 22985950
ffl/224/v4_fusion_bs4x16_mnv64/.hydra/config.yaml ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ host:
2
+ name: gin
3
+ data_root: /data/rsulzer
4
+ update_pbar_every: 1
5
+ run_type:
6
+ name: release
7
+ batch_size: 16
8
+ train_subset: null
9
+ val_subset: null
10
+ test_subset: null
11
+ logging: INFO
12
+ num_workers: 16
13
+ log_to_wandb: true
14
+ polygonization:
15
+ method:
16
+ - acm
17
+ common_params:
18
+ init_data_level: 0.5
19
+ simple_method:
20
+ data_level: 0.5
21
+ tolerance:
22
+ - 1.0
23
+ seg_threshold: 0.5
24
+ min_area: 10
25
+ asm_method:
26
+ init_method: skeleton
27
+ data_level: 0.5
28
+ loss_params:
29
+ coefs:
30
+ step_thresholds:
31
+ - 0
32
+ - 100
33
+ - 200
34
+ - 300
35
+ data:
36
+ - 1.0
37
+ - 0.1
38
+ - 0.0
39
+ - 0.0
40
+ crossfield:
41
+ - 0.0
42
+ - 0.05
43
+ - 0.0
44
+ - 0.0
45
+ length:
46
+ - 0.1
47
+ - 0.01
48
+ - 0.0
49
+ - 0.0
50
+ curvature:
51
+ - 0.0
52
+ - 0.0
53
+ - 1.0
54
+ - 0.0
55
+ corner:
56
+ - 0.0
57
+ - 0.0
58
+ - 0.5
59
+ - 0.0
60
+ junction:
61
+ - 0.0
62
+ - 0.0
63
+ - 0.5
64
+ - 0.0
65
+ curvature_dissimilarity_threshold: 2
66
+ corner_angles:
67
+ - 45
68
+ - 90
69
+ - 135
70
+ corner_angle_threshold: 22.5
71
+ junction_angles:
72
+ - 0
73
+ - 45
74
+ - 90
75
+ - 135
76
+ junction_angle_weights:
77
+ - 1
78
+ - 0.01
79
+ - 0.1
80
+ - 0.01
81
+ junction_angle_threshold: 22.5
82
+ lr: 0.1
83
+ gamma: 0.995
84
+ device: cuda
85
+ tolerance:
86
+ - 1
87
+ seg_threshold: 0.5
88
+ min_area: 10
89
+ acm_method:
90
+ steps: 500
91
+ data_level: 0.5
92
+ data_coef: 0.1
93
+ length_coef: 0.4
94
+ crossfield_coef: 0.5
95
+ poly_lr: 0.01
96
+ warmup_iters: 100
97
+ warmup_factor: 0.1
98
+ device: cuda
99
+ tolerance:
100
+ - 1
101
+ seg_threshold: 0.5
102
+ min_area: 10
103
+ dataset:
104
+ name: p3
105
+ size: ${..experiment.encoder.in_size}
106
+ path: ${host.data_root}/PixelsPointsPolygons/data/${.size}
107
+ annotations:
108
+ train: ${..path}/annotations_${...country}_train.json
109
+ val: ${..path}/annotations_${...country}_val.json
110
+ test: ${..path}/annotations_${...country}_test.json
111
+ ffl_stats:
112
+ train: ${..path}/ffl/train/stats-${...country}.pt
113
+ val: ${..path}/ffl/val/stats-${...country}.pt
114
+ test: ${..path}/ffl/test/stats-${...country}.pt
115
+ train_subset: ${..run_type.train_subset}
116
+ val_subset: ${..run_type.val_subset}
117
+ test_subset: ${..run_type.test_subset}
118
+ experiment:
119
+ encoder:
120
+ name: early_fusion_vit_cnn
121
+ use_images: true
122
+ use_lidar: true
123
+ in_size: 224
124
+ in_height: ${.in_size}
125
+ in_width: ${.in_size}
126
+ in_voxel_size:
127
+ x: 8
128
+ 'y': 8
129
+ z: 100
130
+ max_num_points_per_voxel: 64
131
+ max_num_voxels:
132
+ train: 784
133
+ test: 784
134
+ out_feature_size: ${..model.decoder.in_feature_size}
135
+ out_feature_height: ${.out_feature_size}
136
+ out_feature_width: ${.out_feature_size}
137
+ out_feature_dim: ${..model.decoder.in_feature_dim}
138
+ vit:
139
+ type: vit_small_patch${..patch_size}_${..in_size}.dino
140
+ checkpoint_file: ${....host.data_root}/checkpoints/backbones/dino_deitsmall8_pretrain.pth
141
+ pretrained: true
142
+ patch_size: 8
143
+ patch_feature_size: 28
144
+ patch_feature_height: ${.patch_feature_size}
145
+ patch_feature_width: ${.patch_feature_size}
146
+ patch_feature_dim: 384
147
+ image_mean:
148
+ - 0.0
149
+ - 0.0
150
+ - 0.0
151
+ image_std:
152
+ - 1.0
153
+ - 1.0
154
+ - 1.0
155
+ image_max_pixel_value: 255.0
156
+ augmentations:
157
+ - D4
158
+ - ColorJitter
159
+ - GaussNoise
160
+ - Normalize
161
+ max_points_per_voxel: 64
162
+ model:
163
+ name: ffl
164
+ compute_seg: true
165
+ compute_crossfield: true
166
+ seg:
167
+ compute_interior: true
168
+ compute_edge: false
169
+ compute_vertex: false
170
+ decoder:
171
+ in_feature_size: ${...encoder.in_size}
172
+ in_feature_width: ${.in_feature_size}
173
+ in_feature_height: ${.in_feature_size}
174
+ in_feature_dim: ${if:${eq:${.in_feature_size},512}, 32, 256}
175
+ point_pillars:
176
+ out_channels:
177
+ - ${...decoder.in_feature_dim}
178
+ - ${...decoder.in_feature_dim}
179
+ - ${...decoder.in_feature_dim}]
180
+ upsample_strides:
181
+ - 4
182
+ - 8
183
+ - 16
184
+ loss:
185
+ multi:
186
+ epoch_thresholds:
187
+ - 0
188
+ - 5
189
+ - 10
190
+ weights:
191
+ seg: 1
192
+ crossfield_align: 1
193
+ crossfield_align90: 0.5
194
+ crossfield_smooth: 0.005
195
+ seg_interior_crossfield:
196
+ - 0
197
+ - 0
198
+ - 0.2
199
+ seg_edge_crossfield:
200
+ - 0
201
+ - 0
202
+ - 0.2
203
+ seg_edge_interior:
204
+ - 0
205
+ - 0
206
+ - 0.2
207
+ seg:
208
+ bce_coef: 1.0
209
+ dice_coef: 0.2
210
+ use_freq: false
211
+ use_dist: false
212
+ use_size: false
213
+ w0: 50
214
+ sigma: 10
215
+ type: bool
216
+ batch_size: ${...run_type.batch_size}
217
+ start_epoch: 0
218
+ num_epochs: 200
219
+ milestone: 0
220
+ learning_rate: 0.0001
221
+ weight_decay: 0.0
222
+ gamma: 0.95
223
+ eval:
224
+ patch_size: null
225
+ patch_overlap: 200
226
+ seg_threshold: 0.5
227
+ name: v4_fusion_bs4x16_mnv64
228
+ group_name: v2_${.model.name}
229
+ output_dir: ${.host.data_root}/${.experiment.model.name}_outputs/${.dataset.name}/${.experiment.encoder.in_size}/${.experiment.name}
230
+ checkpoint: best_val_iou
231
+ checkpoint_file: null
232
+ save_best: true
233
+ save_latest: true
234
+ save_every: 10
235
+ val_every: 1
236
+ best_val_loss: 10000000.0
237
+ best_val_iou: 0.0
238
+ multi_gpu: false
239
+ device: cuda
240
+ log_to_wandb: false
241
+ num_workers: ${.run_type.num_workers}
242
+ update_pbar_every: ${.host.update_pbar_every}
243
+ country: Switzerland
244
+ use_lidar: ${.experiment.encoder.use_lidar}
245
+ use_images: ${.experiment.encoder.use_images}
246
+ eval:
247
+ split: val
248
+ pred_file: ${..output_dir}/predictions_${..country}_${.split}/${..checkpoint}.json
249
+ modes:
250
+ - ldof
251
+ - coco
252
+ - iou
253
+ - polis
254
+ - mta
255
+ eval_file: results/metrics
256
+ ldof_exe: /user/rsulzer/home/cpp/line-DOF-metric/build/calculate_DoF
ffl/224/v4_fusion_bs4x16_mnv64/.hydra/hydra.yaml ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${...output_dir}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - run_type=release
116
+ - host=gin
117
+ - device=cuda
118
+ - log_to_wandb=false
119
+ - multi_gpu=false
120
+ - checkpoint=best_val_iou
121
+ - country=Switzerland
122
+ - eval.split=val
123
+ - experiment.name=v4_fusion_bs4x16_mnv64
124
+ job:
125
+ name: predict
126
+ chdir: null
127
+ override_dirname: checkpoint=best_val_iou,country=Switzerland,device=cuda,eval.split=val,experiment.name=v4_fusion_bs4x16_mnv64,host=gin,log_to_wandb=false,multi_gpu=false,run_type=release
128
+ id: ???
129
+ num: ???
130
+ config_name: config
131
+ env_set: {}
132
+ env_copy: []
133
+ config:
134
+ override_dirname:
135
+ kv_sep: '='
136
+ item_sep: ','
137
+ exclude_keys: []
138
+ runtime:
139
+ version: 1.3.2
140
+ version_base: '1.3'
141
+ cwd: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons
142
+ config_sources:
143
+ - path: hydra.conf
144
+ schema: pkg
145
+ provider: hydra
146
+ - path: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons/config
147
+ schema: file
148
+ provider: main
149
+ - path: ''
150
+ schema: structured
151
+ provider: schema
152
+ output_dir: /data/rsulzer/ffl_outputs/p3/224/v4_fusion_bs4x16_mnv64
153
+ choices:
154
+ experiment: ffl_fusion
155
156
+ [email protected]: early_fusion_vit_cnn
157
+ dataset: p3
158
+ polygonization: asm_acm
159
+ run_type: release
160
+ host: gin
161
+ hydra/env: default
162
+ hydra/callbacks: null
163
+ hydra/job_logging: default
164
+ hydra/hydra_logging: default
165
+ hydra/hydra_help: default
166
+ hydra/help: default
167
+ hydra/sweeper: basic
168
+ hydra/launcher: basic
169
+ hydra/output: default
170
+ verbose: false
ffl/224/v4_fusion_bs4x16_mnv64/.hydra/overrides.yaml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ - run_type=release
2
+ - host=gin
3
+ - device=cuda
4
+ - log_to_wandb=false
5
+ - multi_gpu=false
6
+ - checkpoint=best_val_iou
7
+ - country=Switzerland
8
+ - eval.split=val
9
+ - experiment.name=v4_fusion_bs4x16_mnv64
ffl/224/v4_fusion_bs4x16_mnv64/checkpoints/best_val_iou.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ffea6a07761223142053ed42d40ae2c9fdc8302d3867c718577f54e7b48297d
3
+ size 317344380
ffl/224/v4_fusion_bs4x16_mnv64/predictions/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:410a72172a85a162d239182bffbaf4222d5c6116e8cfbd995b873d6b73673cab
3
+ size 338195
ffl/224/v4_fusion_bs4x16_mnv64/predictions_NY_val/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70d5453ab505d768623c4ea1d459b0a384f6c754547af60bd0672d4f7dea36c6
3
+ size 912731
ffl/224/v4_fusion_bs4x16_mnv64/predictions_NY_val/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70d5453ab505d768623c4ea1d459b0a384f6c754547af60bd0672d4f7dea36c6
3
+ size 912731
ffl/224/v4_fusion_bs4x16_mnv64/predictions_NZ_val/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bb49ece883fbac6c8c44bd3fc8a157c51602f96f357a67b30dd677fc5f638a1
3
+ size 277763
ffl/224/v4_fusion_bs4x16_mnv64/predictions_NZ_val/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bb49ece883fbac6c8c44bd3fc8a157c51602f96f357a67b30dd677fc5f638a1
3
+ size 277763
ffl/224/v4_fusion_bs4x16_mnv64/predictions_Switzerland_test/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe3695563fca8f65313c8ef5973821b817bde41c4214f48a5309021eec16e524
3
+ size 5609134
ffl/224/v4_fusion_bs4x16_mnv64/predictions_Switzerland_test/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe3695563fca8f65313c8ef5973821b817bde41c4214f48a5309021eec16e524
3
+ size 5609134
ffl/224/v4_fusion_bs4x16_mnv64/predictions_Switzerland_val/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cf45a8ce4aef758a5ba0f77c58d2329b76d26acae172bcaf3e371d0eaa0203a
3
+ size 336497
ffl/224/v4_fusion_bs4x16_mnv64/predictions_Switzerland_val/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cf45a8ce4aef758a5ba0f77c58d2329b76d26acae172bcaf3e371d0eaa0203a
3
+ size 336497
ffl/224/v4_image_bs4x16/.hydra/config.yaml ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ host:
2
+ name: gin
3
+ data_root: /data/rsulzer
4
+ update_pbar_every: 1
5
+ run_type:
6
+ name: release
7
+ batch_size: 16
8
+ train_subset: null
9
+ val_subset: null
10
+ test_subset: null
11
+ logging: INFO
12
+ num_workers: 16
13
+ log_to_wandb: true
14
+ polygonization:
15
+ method:
16
+ - acm
17
+ common_params:
18
+ init_data_level: 0.5
19
+ simple_method:
20
+ data_level: 0.5
21
+ tolerance:
22
+ - 1.0
23
+ seg_threshold: 0.5
24
+ min_area: 10
25
+ asm_method:
26
+ init_method: skeleton
27
+ data_level: 0.5
28
+ loss_params:
29
+ coefs:
30
+ step_thresholds:
31
+ - 0
32
+ - 100
33
+ - 200
34
+ - 300
35
+ data:
36
+ - 1.0
37
+ - 0.1
38
+ - 0.0
39
+ - 0.0
40
+ crossfield:
41
+ - 0.0
42
+ - 0.05
43
+ - 0.0
44
+ - 0.0
45
+ length:
46
+ - 0.1
47
+ - 0.01
48
+ - 0.0
49
+ - 0.0
50
+ curvature:
51
+ - 0.0
52
+ - 0.0
53
+ - 1.0
54
+ - 0.0
55
+ corner:
56
+ - 0.0
57
+ - 0.0
58
+ - 0.5
59
+ - 0.0
60
+ junction:
61
+ - 0.0
62
+ - 0.0
63
+ - 0.5
64
+ - 0.0
65
+ curvature_dissimilarity_threshold: 2
66
+ corner_angles:
67
+ - 45
68
+ - 90
69
+ - 135
70
+ corner_angle_threshold: 22.5
71
+ junction_angles:
72
+ - 0
73
+ - 45
74
+ - 90
75
+ - 135
76
+ junction_angle_weights:
77
+ - 1
78
+ - 0.01
79
+ - 0.1
80
+ - 0.01
81
+ junction_angle_threshold: 22.5
82
+ lr: 0.1
83
+ gamma: 0.995
84
+ device: cuda
85
+ tolerance:
86
+ - 1
87
+ seg_threshold: 0.5
88
+ min_area: 10
89
+ acm_method:
90
+ steps: 500
91
+ data_level: 0.5
92
+ data_coef: 0.1
93
+ length_coef: 0.4
94
+ crossfield_coef: 0.5
95
+ poly_lr: 0.01
96
+ warmup_iters: 100
97
+ warmup_factor: 0.1
98
+ device: cuda
99
+ tolerance:
100
+ - 1
101
+ seg_threshold: 0.5
102
+ min_area: 10
103
+ dataset:
104
+ name: p3
105
+ size: ${..experiment.encoder.in_size}
106
+ path: ${host.data_root}/PixelsPointsPolygons/data/${.size}
107
+ annotations:
108
+ train: ${..path}/annotations_${...country}_train.json
109
+ val: ${..path}/annotations_${...country}_val.json
110
+ test: ${..path}/annotations_${...country}_test.json
111
+ ffl_stats:
112
+ train: ${..path}/ffl/train/stats-${...country}.pt
113
+ val: ${..path}/ffl/val/stats-${...country}.pt
114
+ test: ${..path}/ffl/test/stats-${...country}.pt
115
+ train_subset: ${..run_type.train_subset}
116
+ val_subset: ${..run_type.val_subset}
117
+ test_subset: ${..run_type.test_subset}
118
+ experiment:
119
+ encoder:
120
+ name: early_fusion_vit_cnn
121
+ use_images: true
122
+ use_lidar: true
123
+ in_size: 224
124
+ in_height: ${.in_size}
125
+ in_width: ${.in_size}
126
+ in_voxel_size:
127
+ x: 8
128
+ 'y': 8
129
+ z: 100
130
+ max_num_points_per_voxel: 64
131
+ max_num_voxels:
132
+ train: 784
133
+ test: 784
134
+ out_feature_size: ${..model.decoder.in_feature_size}
135
+ out_feature_height: ${.out_feature_size}
136
+ out_feature_width: ${.out_feature_size}
137
+ out_feature_dim: ${..model.decoder.in_feature_dim}
138
+ vit:
139
+ type: vit_small_patch${..patch_size}_${..in_size}.dino
140
+ checkpoint_file: ${....host.data_root}/checkpoints/backbones/dino_deitsmall8_pretrain.pth
141
+ pretrained: true
142
+ patch_size: 8
143
+ patch_feature_size: 28
144
+ patch_feature_height: ${.patch_feature_size}
145
+ patch_feature_width: ${.patch_feature_size}
146
+ patch_feature_dim: 384
147
+ image_mean:
148
+ - 0.0
149
+ - 0.0
150
+ - 0.0
151
+ image_std:
152
+ - 1.0
153
+ - 1.0
154
+ - 1.0
155
+ image_max_pixel_value: 255.0
156
+ augmentations:
157
+ - D4
158
+ - ColorJitter
159
+ - GaussNoise
160
+ - Normalize
161
+ max_points_per_voxel: 64
162
+ model:
163
+ name: ffl
164
+ compute_seg: true
165
+ compute_crossfield: true
166
+ seg:
167
+ compute_interior: true
168
+ compute_edge: false
169
+ compute_vertex: false
170
+ decoder:
171
+ in_feature_size: ${...encoder.in_size}
172
+ in_feature_width: ${.in_feature_size}
173
+ in_feature_height: ${.in_feature_size}
174
+ in_feature_dim: ${if:${eq:${.in_feature_size},512}, 32, 256}
175
+ point_pillars:
176
+ out_channels:
177
+ - ${...decoder.in_feature_dim}
178
+ - ${...decoder.in_feature_dim}
179
+ - ${...decoder.in_feature_dim}]
180
+ upsample_strides:
181
+ - 4
182
+ - 8
183
+ - 16
184
+ loss:
185
+ multi:
186
+ epoch_thresholds:
187
+ - 0
188
+ - 5
189
+ - 10
190
+ weights:
191
+ seg: 1
192
+ crossfield_align: 1
193
+ crossfield_align90: 0.5
194
+ crossfield_smooth: 0.005
195
+ seg_interior_crossfield:
196
+ - 0
197
+ - 0
198
+ - 0.2
199
+ seg_edge_crossfield:
200
+ - 0
201
+ - 0
202
+ - 0.2
203
+ seg_edge_interior:
204
+ - 0
205
+ - 0
206
+ - 0.2
207
+ seg:
208
+ bce_coef: 1.0
209
+ dice_coef: 0.2
210
+ use_freq: false
211
+ use_dist: false
212
+ use_size: false
213
+ w0: 50
214
+ sigma: 10
215
+ type: bool
216
+ batch_size: ${...run_type.batch_size}
217
+ start_epoch: 0
218
+ num_epochs: 200
219
+ milestone: 0
220
+ learning_rate: 0.0001
221
+ weight_decay: 0.0
222
+ gamma: 0.95
223
+ eval:
224
+ patch_size: null
225
+ patch_overlap: 200
226
+ seg_threshold: 0.5
227
+ name: v4_image_bs4x16
228
+ group_name: v2_${.model.name}
229
+ output_dir: ${.host.data_root}/${.experiment.model.name}_outputs/${.dataset.name}/${.experiment.encoder.in_size}/${.experiment.name}
230
+ checkpoint: best_val_iou
231
+ checkpoint_file: null
232
+ save_best: true
233
+ save_latest: true
234
+ save_every: 10
235
+ val_every: 1
236
+ best_val_loss: 10000000.0
237
+ best_val_iou: 0.0
238
+ multi_gpu: false
239
+ device: cuda
240
+ log_to_wandb: false
241
+ num_workers: ${.run_type.num_workers}
242
+ update_pbar_every: ${.host.update_pbar_every}
243
+ country: Switzerland
244
+ use_lidar: ${.experiment.encoder.use_lidar}
245
+ use_images: ${.experiment.encoder.use_images}
246
+ eval:
247
+ split: val
248
+ pred_file: ${..output_dir}/predictions_${..country}_${.split}/${..checkpoint}.json
249
+ modes:
250
+ - ldof
251
+ - coco
252
+ - iou
253
+ - polis
254
+ - mta
255
+ eval_file: results/metrics
256
+ ldof_exe: /user/rsulzer/home/cpp/line-DOF-metric/build/calculate_DoF
ffl/224/v4_image_bs4x16/.hydra/hydra.yaml ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${...output_dir}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - run_type=release
116
+ - host=gin
117
+ - device=cuda
118
+ - log_to_wandb=false
119
+ - multi_gpu=false
120
+ - checkpoint=best_val_iou
121
+ - country=Switzerland
122
+ - eval.split=val
123
+ - experiment.name=v4_image_bs4x16
124
+ job:
125
+ name: predict
126
+ chdir: null
127
+ override_dirname: checkpoint=best_val_iou,country=Switzerland,device=cuda,eval.split=val,experiment.name=v4_image_bs4x16,host=gin,log_to_wandb=false,multi_gpu=false,run_type=release
128
+ id: ???
129
+ num: ???
130
+ config_name: config
131
+ env_set: {}
132
+ env_copy: []
133
+ config:
134
+ override_dirname:
135
+ kv_sep: '='
136
+ item_sep: ','
137
+ exclude_keys: []
138
+ runtime:
139
+ version: 1.3.2
140
+ version_base: '1.3'
141
+ cwd: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons
142
+ config_sources:
143
+ - path: hydra.conf
144
+ schema: pkg
145
+ provider: hydra
146
+ - path: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons/config
147
+ schema: file
148
+ provider: main
149
+ - path: ''
150
+ schema: structured
151
+ provider: schema
152
+ output_dir: /data/rsulzer/ffl_outputs/p3/224/v4_image_bs4x16
153
+ choices:
154
+ experiment: ffl_fusion
155
156
+ [email protected]: early_fusion_vit_cnn
157
+ dataset: p3
158
+ polygonization: asm_acm
159
+ run_type: release
160
+ host: gin
161
+ hydra/env: default
162
+ hydra/callbacks: null
163
+ hydra/job_logging: default
164
+ hydra/hydra_logging: default
165
+ hydra/hydra_help: default
166
+ hydra/help: default
167
+ hydra/sweeper: basic
168
+ hydra/launcher: basic
169
+ hydra/output: default
170
+ verbose: false
ffl/224/v4_image_bs4x16/.hydra/overrides.yaml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ - run_type=release
2
+ - host=gin
3
+ - device=cuda
4
+ - log_to_wandb=false
5
+ - multi_gpu=false
6
+ - checkpoint=best_val_iou
7
+ - country=Switzerland
8
+ - eval.split=val
9
+ - experiment.name=v4_image_bs4x16
ffl/224/v4_image_bs4x16/checkpoints/best_val_iou.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24cf1aed431f8f13df9edd00f97378fd0fe783333ce86fb6bf9fb63b61a129fa
3
+ size 285147689
ffl/224/v4_image_bs4x16/predictions/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d1414fe72e203cdff9e623c98b6c45ce4ae9a41e1bd77fea789bd1b10492b6a
3
+ size 385431
ffl/224/v4_image_bs4x16/predictions_Switzerland_test/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f725e9514c9025f9abbcb1c147cbe33cd3e1c5bbd2402a002069d5a64935b60d
3
+ size 5832832
ffl/224/v4_image_bs4x16/predictions_Switzerland_test/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f725e9514c9025f9abbcb1c147cbe33cd3e1c5bbd2402a002069d5a64935b60d
3
+ size 5832832
ffl/224/v4_image_bs4x16/predictions_Switzerland_val/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d5a991f227061952c4f518ab0d518fc21ab61917ce0f55c1ddc3cdc67d28e68
3
+ size 383243
ffl/224/v4_image_bs4x16/predictions_Switzerland_val/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d5a991f227061952c4f518ab0d518fc21ab61917ce0f55c1ddc3cdc67d28e68
3
+ size 383243
ffl/224/v5_lidar_bs2x16_mnv128/.hydra/config.yaml ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ host:
2
+ name: g5k
3
+ data_root: /home/rsulzer/data
4
+ update_pbar_every: 60
5
+ run_type:
6
+ name: release
7
+ batch_size: 16
8
+ train_subset: null
9
+ val_subset: null
10
+ test_subset: null
11
+ logging: INFO
12
+ num_workers: 16
13
+ log_to_wandb: true
14
+ polygonization:
15
+ method:
16
+ - acm
17
+ common_params:
18
+ init_data_level: 0.5
19
+ simple_method:
20
+ data_level: 0.5
21
+ tolerance:
22
+ - 1.0
23
+ seg_threshold: 0.5
24
+ min_area: 10
25
+ asm_method:
26
+ init_method: skeleton
27
+ data_level: 0.5
28
+ loss_params:
29
+ coefs:
30
+ step_thresholds:
31
+ - 0
32
+ - 100
33
+ - 200
34
+ - 300
35
+ data:
36
+ - 1.0
37
+ - 0.1
38
+ - 0.0
39
+ - 0.0
40
+ crossfield:
41
+ - 0.0
42
+ - 0.05
43
+ - 0.0
44
+ - 0.0
45
+ length:
46
+ - 0.1
47
+ - 0.01
48
+ - 0.0
49
+ - 0.0
50
+ curvature:
51
+ - 0.0
52
+ - 0.0
53
+ - 1.0
54
+ - 0.0
55
+ corner:
56
+ - 0.0
57
+ - 0.0
58
+ - 0.5
59
+ - 0.0
60
+ junction:
61
+ - 0.0
62
+ - 0.0
63
+ - 0.5
64
+ - 0.0
65
+ curvature_dissimilarity_threshold: 2
66
+ corner_angles:
67
+ - 45
68
+ - 90
69
+ - 135
70
+ corner_angle_threshold: 22.5
71
+ junction_angles:
72
+ - 0
73
+ - 45
74
+ - 90
75
+ - 135
76
+ junction_angle_weights:
77
+ - 1
78
+ - 0.01
79
+ - 0.1
80
+ - 0.01
81
+ junction_angle_threshold: 22.5
82
+ lr: 0.1
83
+ gamma: 0.995
84
+ device: cuda
85
+ tolerance:
86
+ - 1
87
+ seg_threshold: 0.5
88
+ min_area: 10
89
+ acm_method:
90
+ steps: 500
91
+ data_level: 0.5
92
+ data_coef: 0.1
93
+ length_coef: 0.4
94
+ crossfield_coef: 0.5
95
+ poly_lr: 0.01
96
+ warmup_iters: 100
97
+ warmup_factor: 0.1
98
+ device: cuda
99
+ tolerance:
100
+ - 1
101
+ seg_threshold: 0.5
102
+ min_area: 10
103
+ dataset:
104
+ name: lidarpoly
105
+ size: ${..experiment.encoder.in_size}
106
+ path: ${host.data_root}/${.name}/${.size}
107
+ annotations:
108
+ train: ${..path}/annotations_${...country}_train.json
109
+ val: ${..path}/annotations_${...country}_val.json
110
+ test: ${..path}/annotations_${...country}_test.json
111
+ train_subset: ${..run_type.train_subset}
112
+ val_subset: ${..run_type.val_subset}
113
+ test_subset: ${..run_type.test_subset}
114
+ augmentations:
115
+ - D4
116
+ experiment:
117
+ encoder:
118
+ name: pointpillars_vit_cnn
119
+ use_images: false
120
+ use_lidar: true
121
+ in_size: 224
122
+ in_height: ${.in_size}
123
+ in_width: ${.in_size}
124
+ in_voxel_size:
125
+ x: 8
126
+ 'y': 8
127
+ z: 100
128
+ max_num_points_per_voxel: 128
129
+ max_num_voxels:
130
+ train: 784
131
+ test: 784
132
+ out_feature_size: ${..model.decoder.in_feature_size}
133
+ out_feature_height: ${.out_feature_size}
134
+ out_feature_width: ${.out_feature_size}
135
+ out_feature_dim: ${..model.decoder.in_feature_dim}
136
+ vit:
137
+ type: vit_small_patch${..patch_size}_${..in_size}.dino
138
+ checkpoint_file: ${....host.data_root}/checkpoints/backbones/dino_deitsmall8_pretrain.pth
139
+ pretrained: true
140
+ patch_size: 8
141
+ patch_feature_size: 28
142
+ patch_feature_height: ${.patch_feature_size}
143
+ patch_feature_width: ${.patch_feature_size}
144
+ patch_feature_dim: 384
145
+ augmentations:
146
+ - D4
147
+ model:
148
+ name: ffl
149
+ compute_seg: true
150
+ compute_crossfield: true
151
+ seg:
152
+ compute_interior: true
153
+ compute_edge: false
154
+ compute_vertex: false
155
+ decoder:
156
+ in_feature_size: ${...encoder.in_size}
157
+ in_feature_width: ${.in_feature_size}
158
+ in_feature_height: ${.in_feature_size}
159
+ in_feature_dim: ${if:${eq:${.in_feature_size},512}, 32, 256}
160
+ point_pillars:
161
+ out_channels:
162
+ - ${...decoder.in_feature_dim}
163
+ - ${...decoder.in_feature_dim}
164
+ - ${...decoder.in_feature_dim}]
165
+ upsample_strides:
166
+ - 4
167
+ - 8
168
+ - 16
169
+ loss:
170
+ multi:
171
+ epoch_thresholds:
172
+ - 0
173
+ - 5
174
+ - 10
175
+ weights:
176
+ seg: 1
177
+ crossfield_align: 1
178
+ crossfield_align90: 0.5
179
+ crossfield_smooth: 0.005
180
+ seg_interior_crossfield:
181
+ - 0
182
+ - 0
183
+ - 0.2
184
+ seg_edge_crossfield:
185
+ - 0
186
+ - 0
187
+ - 0.2
188
+ seg_edge_interior:
189
+ - 0
190
+ - 0
191
+ - 0.2
192
+ seg:
193
+ bce_coef: 1.0
194
+ dice_coef: 0.2
195
+ use_freq: false
196
+ use_dist: false
197
+ use_size: false
198
+ w0: 50
199
+ sigma: 10
200
+ type: bool
201
+ batch_size: ${...run_type.batch_size}
202
+ start_epoch: 0
203
+ num_epochs: 200
204
+ milestone: 0
205
+ learning_rate: 0.0001
206
+ weight_decay: 0.0
207
+ gamma: 0.95
208
+ eval:
209
+ patch_size: null
210
+ patch_overlap: 200
211
+ seg_threshold: 0.5
212
+ name: v5_lidar_bs2x16_mnv128
213
+ group_name: v2_${.model.name}
214
+ output_dir: ${.host.data_root}/${.experiment.model.name}_outputs/${.dataset.name}/${.experiment.encoder.in_size}/${.experiment.name}
215
+ checkpoint: null
216
+ checkpoint_file: null
217
+ save_best: true
218
+ save_latest: true
219
+ save_every: 10
220
+ val_every: 1
221
+ best_val_loss: 10000000.0
222
+ best_val_iou: 0.0
223
+ multi_gpu: true
224
+ device: cuda
225
+ log_to_wandb: true
226
+ num_workers: ${.run_type.num_workers}
227
+ update_pbar_every: ${.host.update_pbar_every}
228
+ country: Switzerland
229
+ use_lidar: ${.experiment.encoder.use_lidar}
230
+ use_images: ${.experiment.encoder.use_images}
231
+ eval:
232
+ split: val
233
+ pred_file: ${..output_dir}/predictions/${..checkpoint}.json
234
+ modes:
235
+ - iou
236
+ eval_file: results/metrics
ffl/224/v5_lidar_bs2x16_mnv128/.hydra/hydra.yaml ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${...output_dir}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - log_to_wandb=true
116
+ - host=g5k
117
+ - run_type=release
118
+ - multi_gpu=true
119
+ - checkpoint=null
120
+ - experiment=lidar_density_ablation128
121
+ job:
122
+ name: train
123
+ chdir: null
124
+ override_dirname: checkpoint=null,experiment=lidar_density_ablation128,host=g5k,log_to_wandb=true,multi_gpu=true,run_type=release
125
+ id: ???
126
+ num: ???
127
+ config_name: config
128
+ env_set: {}
129
+ env_copy: []
130
+ config:
131
+ override_dirname:
132
+ kv_sep: '='
133
+ item_sep: ','
134
+ exclude_keys: []
135
+ runtime:
136
+ version: 1.3.2
137
+ version_base: '1.3'
138
+ cwd: /home/rsulzer/python/PixelsPointsPolygons
139
+ config_sources:
140
+ - path: hydra.conf
141
+ schema: pkg
142
+ provider: hydra
143
+ - path: /home/rsulzer/python/PixelsPointsPolygons/config
144
+ schema: file
145
+ provider: main
146
+ - path: ''
147
+ schema: structured
148
+ provider: schema
149
+ output_dir: /home/rsulzer/data/ffl_outputs/lidarpoly/224/v5_lidar_bs2x16_mnv128
150
+ choices:
151
+ experiment: lidar_density_ablation128
152
153
+ [email protected]: pointpillars_vit_cnn
154
+ dataset: lidarpoly
155
+ polygonization: asm_acm
156
+ run_type: release
157
+ host: g5k
158
+ hydra/env: default
159
+ hydra/callbacks: null
160
+ hydra/job_logging: default
161
+ hydra/hydra_logging: default
162
+ hydra/hydra_help: default
163
+ hydra/help: default
164
+ hydra/sweeper: basic
165
+ hydra/launcher: basic
166
+ hydra/output: default
167
+ verbose: false
ffl/224/v5_lidar_bs2x16_mnv128/.hydra/overrides.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ - log_to_wandb=true
2
+ - host=g5k
3
+ - run_type=release
4
+ - multi_gpu=true
5
+ - checkpoint=null
6
+ - experiment=lidar_density_ablation128
ffl/224/v5_lidar_bs2x16_mnv128/checkpoints/best_val_iou.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eac23a8870aa4de5b1a7a635fd1fcb74b13c88ffb56738a1fd2a7d84428c54dd
3
+ size 284579947
ffl/224/v5_lidar_bs2x16_mnv128/predictions/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f60fdf7ddacf15b38ac002b7294f306c1a589bb6a145163d0b041358a5fad517
3
+ size 432778
ffl/224/v5_lidar_bs2x16_mnv128/predictions_Switzerland_test/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:050c7fb16c3a8a96def36b00256d70a428a4ea118e4dfce997e34ae76fc516bb
3
+ size 5998847
ffl/224/v5_lidar_bs2x16_mnv128/predictions_Switzerland_test/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:050c7fb16c3a8a96def36b00256d70a428a4ea118e4dfce997e34ae76fc516bb
3
+ size 5998847
ffl/224/v5_lidar_bs2x16_mnv16/.hydra/config.yaml ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ host:
2
+ name: g5k
3
+ data_root: /home/rsulzer/data
4
+ update_pbar_every: 60
5
+ run_type:
6
+ name: release
7
+ batch_size: 16
8
+ train_subset: null
9
+ val_subset: null
10
+ test_subset: null
11
+ logging: INFO
12
+ num_workers: 16
13
+ log_to_wandb: true
14
+ polygonization:
15
+ method:
16
+ - acm
17
+ common_params:
18
+ init_data_level: 0.5
19
+ simple_method:
20
+ data_level: 0.5
21
+ tolerance:
22
+ - 1.0
23
+ seg_threshold: 0.5
24
+ min_area: 10
25
+ asm_method:
26
+ init_method: skeleton
27
+ data_level: 0.5
28
+ loss_params:
29
+ coefs:
30
+ step_thresholds:
31
+ - 0
32
+ - 100
33
+ - 200
34
+ - 300
35
+ data:
36
+ - 1.0
37
+ - 0.1
38
+ - 0.0
39
+ - 0.0
40
+ crossfield:
41
+ - 0.0
42
+ - 0.05
43
+ - 0.0
44
+ - 0.0
45
+ length:
46
+ - 0.1
47
+ - 0.01
48
+ - 0.0
49
+ - 0.0
50
+ curvature:
51
+ - 0.0
52
+ - 0.0
53
+ - 1.0
54
+ - 0.0
55
+ corner:
56
+ - 0.0
57
+ - 0.0
58
+ - 0.5
59
+ - 0.0
60
+ junction:
61
+ - 0.0
62
+ - 0.0
63
+ - 0.5
64
+ - 0.0
65
+ curvature_dissimilarity_threshold: 2
66
+ corner_angles:
67
+ - 45
68
+ - 90
69
+ - 135
70
+ corner_angle_threshold: 22.5
71
+ junction_angles:
72
+ - 0
73
+ - 45
74
+ - 90
75
+ - 135
76
+ junction_angle_weights:
77
+ - 1
78
+ - 0.01
79
+ - 0.1
80
+ - 0.01
81
+ junction_angle_threshold: 22.5
82
+ lr: 0.1
83
+ gamma: 0.995
84
+ device: cuda
85
+ tolerance:
86
+ - 1
87
+ seg_threshold: 0.5
88
+ min_area: 10
89
+ acm_method:
90
+ steps: 500
91
+ data_level: 0.5
92
+ data_coef: 0.1
93
+ length_coef: 0.4
94
+ crossfield_coef: 0.5
95
+ poly_lr: 0.01
96
+ warmup_iters: 100
97
+ warmup_factor: 0.1
98
+ device: cuda
99
+ tolerance:
100
+ - 1
101
+ seg_threshold: 0.5
102
+ min_area: 10
103
+ dataset:
104
+ name: lidarpoly
105
+ size: ${..experiment.encoder.in_size}
106
+ path: ${host.data_root}/${.name}/${.size}
107
+ annotations:
108
+ train: ${..path}/annotations_${...country}_train.json
109
+ val: ${..path}/annotations_${...country}_val.json
110
+ test: ${..path}/annotations_${...country}_test.json
111
+ train_subset: ${..run_type.train_subset}
112
+ val_subset: ${..run_type.val_subset}
113
+ test_subset: ${..run_type.test_subset}
114
+ augmentations:
115
+ - D4
116
+ experiment:
117
+ encoder:
118
+ name: pointpillars_vit_cnn
119
+ use_images: false
120
+ use_lidar: true
121
+ in_size: 224
122
+ in_height: ${.in_size}
123
+ in_width: ${.in_size}
124
+ in_voxel_size:
125
+ x: 8
126
+ 'y': 8
127
+ z: 100
128
+ max_num_points_per_voxel: 16
129
+ max_num_voxels:
130
+ train: 784
131
+ test: 784
132
+ out_feature_size: ${..model.decoder.in_feature_size}
133
+ out_feature_height: ${.out_feature_size}
134
+ out_feature_width: ${.out_feature_size}
135
+ out_feature_dim: ${..model.decoder.in_feature_dim}
136
+ vit:
137
+ type: vit_small_patch${..patch_size}_${..in_size}.dino
138
+ checkpoint_file: ${....host.data_root}/checkpoints/backbones/dino_deitsmall8_pretrain.pth
139
+ pretrained: true
140
+ patch_size: 8
141
+ patch_feature_size: 28
142
+ patch_feature_height: ${.patch_feature_size}
143
+ patch_feature_width: ${.patch_feature_size}
144
+ patch_feature_dim: 384
145
+ augmentations:
146
+ - D4
147
+ model:
148
+ name: ffl
149
+ compute_seg: true
150
+ compute_crossfield: true
151
+ seg:
152
+ compute_interior: true
153
+ compute_edge: false
154
+ compute_vertex: false
155
+ decoder:
156
+ in_feature_size: ${...encoder.in_size}
157
+ in_feature_width: ${.in_feature_size}
158
+ in_feature_height: ${.in_feature_size}
159
+ in_feature_dim: ${if:${eq:${.in_feature_size},512}, 32, 256}
160
+ point_pillars:
161
+ out_channels:
162
+ - ${...decoder.in_feature_dim}
163
+ - ${...decoder.in_feature_dim}
164
+ - ${...decoder.in_feature_dim}]
165
+ upsample_strides:
166
+ - 4
167
+ - 8
168
+ - 16
169
+ loss:
170
+ multi:
171
+ epoch_thresholds:
172
+ - 0
173
+ - 5
174
+ - 10
175
+ weights:
176
+ seg: 1
177
+ crossfield_align: 1
178
+ crossfield_align90: 0.5
179
+ crossfield_smooth: 0.005
180
+ seg_interior_crossfield:
181
+ - 0
182
+ - 0
183
+ - 0.2
184
+ seg_edge_crossfield:
185
+ - 0
186
+ - 0
187
+ - 0.2
188
+ seg_edge_interior:
189
+ - 0
190
+ - 0
191
+ - 0.2
192
+ seg:
193
+ bce_coef: 1.0
194
+ dice_coef: 0.2
195
+ use_freq: false
196
+ use_dist: false
197
+ use_size: false
198
+ w0: 50
199
+ sigma: 10
200
+ type: bool
201
+ batch_size: ${...run_type.batch_size}
202
+ start_epoch: 0
203
+ num_epochs: 200
204
+ milestone: 0
205
+ learning_rate: 0.0001
206
+ weight_decay: 0.0
207
+ gamma: 0.95
208
+ eval:
209
+ patch_size: null
210
+ patch_overlap: 200
211
+ seg_threshold: 0.5
212
+ name: v5_lidar_bs2x16_mnv16
213
+ group_name: v2_${.model.name}
214
+ output_dir: ${.host.data_root}/${.experiment.model.name}_outputs/${.dataset.name}/${.experiment.encoder.in_size}/${.experiment.name}
215
+ checkpoint: null
216
+ checkpoint_file: null
217
+ save_best: true
218
+ save_latest: true
219
+ save_every: 10
220
+ val_every: 1
221
+ best_val_loss: 10000000.0
222
+ best_val_iou: 0.0
223
+ multi_gpu: true
224
+ device: cuda
225
+ log_to_wandb: true
226
+ num_workers: ${.run_type.num_workers}
227
+ update_pbar_every: ${.host.update_pbar_every}
228
+ country: Switzerland
229
+ use_lidar: ${.experiment.encoder.use_lidar}
230
+ use_images: ${.experiment.encoder.use_images}
231
+ eval:
232
+ split: val
233
+ pred_file: ${..output_dir}/predictions/${..checkpoint}.json
234
+ modes:
235
+ - iou
236
+ eval_file: results/metrics
ffl/224/v5_lidar_bs2x16_mnv16/.hydra/hydra.yaml ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${...output_dir}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - log_to_wandb=true
116
+ - host=g5k
117
+ - run_type=release
118
+ - multi_gpu=true
119
+ - checkpoint=null
120
+ - experiment=lidar_density_ablation16
121
+ job:
122
+ name: train
123
+ chdir: null
124
+ override_dirname: checkpoint=null,experiment=lidar_density_ablation16,host=g5k,log_to_wandb=true,multi_gpu=true,run_type=release
125
+ id: ???
126
+ num: ???
127
+ config_name: config
128
+ env_set: {}
129
+ env_copy: []
130
+ config:
131
+ override_dirname:
132
+ kv_sep: '='
133
+ item_sep: ','
134
+ exclude_keys: []
135
+ runtime:
136
+ version: 1.3.2
137
+ version_base: '1.3'
138
+ cwd: /home/rsulzer/python/PixelsPointsPolygons
139
+ config_sources:
140
+ - path: hydra.conf
141
+ schema: pkg
142
+ provider: hydra
143
+ - path: /home/rsulzer/python/PixelsPointsPolygons/config
144
+ schema: file
145
+ provider: main
146
+ - path: ''
147
+ schema: structured
148
+ provider: schema
149
+ output_dir: /home/rsulzer/data/ffl_outputs/lidarpoly/224/v5_lidar_bs2x16_mnv16
150
+ choices:
151
+ experiment: lidar_density_ablation16
152
153
+ [email protected]: pointpillars_vit_cnn
154
+ dataset: lidarpoly
155
+ polygonization: asm_acm
156
+ run_type: release
157
+ host: g5k
158
+ hydra/env: default
159
+ hydra/callbacks: null
160
+ hydra/job_logging: default
161
+ hydra/hydra_logging: default
162
+ hydra/hydra_help: default
163
+ hydra/help: default
164
+ hydra/sweeper: basic
165
+ hydra/launcher: basic
166
+ hydra/output: default
167
+ verbose: false
ffl/224/v5_lidar_bs2x16_mnv16/.hydra/overrides.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ - log_to_wandb=true
2
+ - host=g5k
3
+ - run_type=release
4
+ - multi_gpu=true
5
+ - checkpoint=null
6
+ - experiment=lidar_density_ablation16
ffl/224/v5_lidar_bs2x16_mnv16/checkpoints/best_val_iou.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e5c5823e529e4c93093e42064448cd8de4310a0a240d6bb21f8ac3d9112e456
3
+ size 284579947
ffl/224/v5_lidar_bs2x16_mnv16/predictions/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e9c0cbd95e7c5f1e851bf7a14253c521e103f362a9808004c69168bdfb660b4
3
+ size 463706
ffl/224/v5_lidar_bs2x16_mnv16/predictions_Switzerland_test/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:948ac9b76bdbaf927dd5d64cfa3d50c90ee14cc861de8e2445d38f026afec337
3
+ size 6368233
ffl/224/v5_lidar_bs2x16_mnv16/predictions_Switzerland_test/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:948ac9b76bdbaf927dd5d64cfa3d50c90ee14cc861de8e2445d38f026afec337
3
+ size 6368233
ffl/224/v5_lidar_bs2x16_mnv16/predictions_Switzerland_val/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65edd6ddbc80eef94a43432a1686fabe8cf2898e27432d199cbfe1c2df2c04f1
3
+ size 35341
ffl/224/v5_lidar_bs2x16_mnv16/predictions_Switzerland_val/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65edd6ddbc80eef94a43432a1686fabe8cf2898e27432d199cbfe1c2df2c04f1
3
+ size 35341
ffl/224/v5_lidar_bs2x16_mnv256/.hydra/config.yaml ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ host:
2
+ name: jeanzay
3
+ data_root: /lustre/fswork/projects/rech/cso/uku93eu/data
4
+ update_pbar_every: 60
5
+ run_type:
6
+ name: release
7
+ batch_size: 16
8
+ train_subset: null
9
+ val_subset: null
10
+ test_subset: null
11
+ logging: INFO
12
+ num_workers: 16
13
+ log_to_wandb: true
14
+ polygonization:
15
+ method:
16
+ - acm
17
+ common_params:
18
+ init_data_level: 0.5
19
+ simple_method:
20
+ data_level: 0.5
21
+ tolerance:
22
+ - 1.0
23
+ seg_threshold: 0.5
24
+ min_area: 10
25
+ asm_method:
26
+ init_method: skeleton
27
+ data_level: 0.5
28
+ loss_params:
29
+ coefs:
30
+ step_thresholds:
31
+ - 0
32
+ - 100
33
+ - 200
34
+ - 300
35
+ data:
36
+ - 1.0
37
+ - 0.1
38
+ - 0.0
39
+ - 0.0
40
+ crossfield:
41
+ - 0.0
42
+ - 0.05
43
+ - 0.0
44
+ - 0.0
45
+ length:
46
+ - 0.1
47
+ - 0.01
48
+ - 0.0
49
+ - 0.0
50
+ curvature:
51
+ - 0.0
52
+ - 0.0
53
+ - 1.0
54
+ - 0.0
55
+ corner:
56
+ - 0.0
57
+ - 0.0
58
+ - 0.5
59
+ - 0.0
60
+ junction:
61
+ - 0.0
62
+ - 0.0
63
+ - 0.5
64
+ - 0.0
65
+ curvature_dissimilarity_threshold: 2
66
+ corner_angles:
67
+ - 45
68
+ - 90
69
+ - 135
70
+ corner_angle_threshold: 22.5
71
+ junction_angles:
72
+ - 0
73
+ - 45
74
+ - 90
75
+ - 135
76
+ junction_angle_weights:
77
+ - 1
78
+ - 0.01
79
+ - 0.1
80
+ - 0.01
81
+ junction_angle_threshold: 22.5
82
+ lr: 0.1
83
+ gamma: 0.995
84
+ device: cuda
85
+ tolerance:
86
+ - 1
87
+ seg_threshold: 0.5
88
+ min_area: 10
89
+ acm_method:
90
+ steps: 500
91
+ data_level: 0.5
92
+ data_coef: 0.1
93
+ length_coef: 0.4
94
+ crossfield_coef: 0.5
95
+ poly_lr: 0.01
96
+ warmup_iters: 100
97
+ warmup_factor: 0.1
98
+ device: cuda
99
+ tolerance:
100
+ - 1
101
+ seg_threshold: 0.5
102
+ min_area: 10
103
+ dataset:
104
+ name: lidarpoly
105
+ size: ${..experiment.encoder.in_size}
106
+ path: ${host.data_root}/${.name}/${.size}
107
+ annotations:
108
+ train: ${..path}/annotations_${...country}_train.json
109
+ val: ${..path}/annotations_${...country}_val.json
110
+ test: ${..path}/annotations_${...country}_test.json
111
+ ffl_stats:
112
+ train: ${..path}/ffl/train/stats-${...country}.pt
113
+ val: ${..path}/ffl/val/stats-${...country}.pt
114
+ test: ${..path}/ffl/test/stats-${...country}.pt
115
+ train_subset: ${..run_type.train_subset}
116
+ val_subset: ${..run_type.val_subset}
117
+ test_subset: ${..run_type.test_subset}
118
+ experiment:
119
+ encoder:
120
+ name: pointpillars_vit_cnn
121
+ use_images: false
122
+ use_lidar: true
123
+ in_size: 224
124
+ in_height: ${.in_size}
125
+ in_width: ${.in_size}
126
+ in_voxel_size:
127
+ x: 8
128
+ 'y': 8
129
+ z: 100
130
+ max_num_points_per_voxel: 256
131
+ max_num_voxels:
132
+ train: 784
133
+ test: 784
134
+ out_feature_size: ${..model.decoder.in_feature_size}
135
+ out_feature_height: ${.out_feature_size}
136
+ out_feature_width: ${.out_feature_size}
137
+ out_feature_dim: ${..model.decoder.in_feature_dim}
138
+ vit:
139
+ type: vit_small_patch${..patch_size}_${..in_size}.dino
140
+ checkpoint_file: ${....host.data_root}/checkpoints/backbones/dino_deitsmall8_pretrain.pth
141
+ pretrained: true
142
+ patch_size: 8
143
+ patch_feature_size: 28
144
+ patch_feature_height: ${.patch_feature_size}
145
+ patch_feature_width: ${.patch_feature_size}
146
+ patch_feature_dim: 384
147
+ augmentations:
148
+ - D4
149
+ model:
150
+ name: ffl
151
+ compute_seg: true
152
+ compute_crossfield: true
153
+ seg:
154
+ compute_interior: true
155
+ compute_edge: false
156
+ compute_vertex: false
157
+ decoder:
158
+ in_feature_size: ${...encoder.in_size}
159
+ in_feature_width: ${.in_feature_size}
160
+ in_feature_height: ${.in_feature_size}
161
+ in_feature_dim: ${if:${eq:${.in_feature_size},512}, 32, 256}
162
+ point_pillars:
163
+ out_channels:
164
+ - ${...decoder.in_feature_dim}
165
+ - ${...decoder.in_feature_dim}
166
+ - ${...decoder.in_feature_dim}]
167
+ upsample_strides:
168
+ - 4
169
+ - 8
170
+ - 16
171
+ loss:
172
+ multi:
173
+ epoch_thresholds:
174
+ - 0
175
+ - 5
176
+ - 10
177
+ weights:
178
+ seg: 1
179
+ crossfield_align: 1
180
+ crossfield_align90: 0.5
181
+ crossfield_smooth: 0.005
182
+ seg_interior_crossfield:
183
+ - 0
184
+ - 0
185
+ - 0.2
186
+ seg_edge_crossfield:
187
+ - 0
188
+ - 0
189
+ - 0.2
190
+ seg_edge_interior:
191
+ - 0
192
+ - 0
193
+ - 0.2
194
+ seg:
195
+ bce_coef: 1.0
196
+ dice_coef: 0.2
197
+ use_freq: false
198
+ use_dist: false
199
+ use_size: false
200
+ w0: 50
201
+ sigma: 10
202
+ type: bool
203
+ batch_size: ${...run_type.batch_size}
204
+ start_epoch: 0
205
+ num_epochs: 200
206
+ milestone: 0
207
+ learning_rate: 0.0001
208
+ weight_decay: 0.0
209
+ gamma: 0.95
210
+ eval:
211
+ patch_size: null
212
+ patch_overlap: 200
213
+ seg_threshold: 0.5
214
+ name: v5_lidar_bs2x16_mnv256
215
+ group_name: v2_${.model.name}
216
+ output_dir: ${.host.data_root}/${.experiment.model.name}_outputs/${.dataset.name}/${.experiment.encoder.in_size}/${.experiment.name}
217
+ checkpoint: best_val_iou
218
+ checkpoint_file: null
219
+ save_best: true
220
+ save_latest: true
221
+ save_every: 10
222
+ val_every: 1
223
+ best_val_loss: 10000000.0
224
+ best_val_iou: 0.0
225
+ multi_gpu: false
226
+ device: cuda
227
+ log_to_wandb: ${.run_type.log_to_wandb}
228
+ num_workers: ${.run_type.num_workers}
229
+ update_pbar_every: ${.host.update_pbar_every}
230
+ country: Switzerland
231
+ use_lidar: ${.experiment.encoder.use_lidar}
232
+ use_images: ${.experiment.encoder.use_images}
233
+ eval:
234
+ split: test
235
+ pred_file: ${..output_dir}/predictions_${..country}_${.split}/${..checkpoint}.json
236
+ modes:
237
+ - ldof
238
+ - hausdorff
239
+ - coco
240
+ - iou
241
+ - polis
242
+ - mta
243
+ eval_file: results/metrics
244
+ ldof_exe: /user/rsulzer/home/cpp/line-DOF-metric/build/calculate_DoF
ffl/224/v5_lidar_bs2x16_mnv256/.hydra/hydra.yaml ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: ${...output_dir}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task:
115
+ - host=jz
116
+ - run_type=release
117
+ - multi_gpu=false
118
+ - checkpoint=best_val_iou
119
+ - country=Switzerland
120
+ - eval.split=test
121
+ - experiment=lidar_density_ablation256
122
+ - experiment.name=v5_lidar_bs2x16_mnv256
123
+ job:
124
+ name: predict
125
+ chdir: null
126
+ override_dirname: checkpoint=best_val_iou,country=Switzerland,eval.split=test,experiment.name=v5_lidar_bs2x16_mnv256,experiment=lidar_density_ablation256,host=jz,multi_gpu=false,run_type=release
127
+ id: ???
128
+ num: ???
129
+ config_name: config
130
+ env_set: {}
131
+ env_copy: []
132
+ config:
133
+ override_dirname:
134
+ kv_sep: '='
135
+ item_sep: ','
136
+ exclude_keys: []
137
+ runtime:
138
+ version: 1.3.2
139
+ version_base: '1.3'
140
+ cwd: /lustre/fswork/projects/rech/cso/uku93eu/python/PixelsPointsPolygons
141
+ config_sources:
142
+ - path: hydra.conf
143
+ schema: pkg
144
+ provider: hydra
145
+ - path: /lustre/fswork/projects/rech/cso/uku93eu/python/PixelsPointsPolygons/config
146
+ schema: file
147
+ provider: main
148
+ - path: ''
149
+ schema: structured
150
+ provider: schema
151
+ output_dir: /lustre/fswork/projects/rech/cso/uku93eu/data/ffl_outputs/lidarpoly/224/v5_lidar_bs2x16_mnv256
152
+ choices:
153
+ experiment: lidar_density_ablation256
154
155
+ [email protected]: pointpillars_vit_cnn
156
+ dataset: lidarpoly
157
+ polygonization: asm_acm
158
+ run_type: release
159
+ host: jz
160
+ hydra/env: default
161
+ hydra/callbacks: null
162
+ hydra/job_logging: default
163
+ hydra/hydra_logging: default
164
+ hydra/hydra_help: default
165
+ hydra/help: default
166
+ hydra/sweeper: basic
167
+ hydra/launcher: basic
168
+ hydra/output: default
169
+ verbose: false
ffl/224/v5_lidar_bs2x16_mnv256/.hydra/overrides.yaml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ - host=jz
2
+ - run_type=release
3
+ - multi_gpu=false
4
+ - checkpoint=best_val_iou
5
+ - country=Switzerland
6
+ - eval.split=test
7
+ - experiment=lidar_density_ablation256
8
+ - experiment.name=v5_lidar_bs2x16_mnv256
ffl/224/v5_lidar_bs2x16_mnv256/checkpoints/best_val_iou.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e75d18107365f9c9652c6e4a42650ec7e0085f0d39fae0488ef0e5e8bf90cfc
3
+ size 284580523
ffl/224/v5_lidar_bs2x16_mnv256/predictions/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b7a974d7aeb7a88b0e2c3e64c551839277df368c823bb2795fd7de65938fd50
3
+ size 419460
ffl/224/v5_lidar_bs2x16_mnv256/predictions_Switzerland_test/acm.tol_1/best_val_iou.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:435fd56ed724ccaec635abd2befe012d7dd03093aab3df50ea3b7969d1a7c878
3
+ size 5774386