rsi commited on
Commit
4d159af
·
2 Parent(s): b0a245e ebb9e9c
.gitignore CHANGED
@@ -1,6 +1,10 @@
1
  **/debug
 
2
  **/my_experiment
3
  **/wandb
4
  **/visualizations
5
  **/epoch_*.json
6
  **/epoch_*.pth
 
 
 
 
1
  **/debug
2
+ <<<<<<< HEAD
3
  **/my_experiment
4
  **/wandb
5
  **/visualizations
6
  **/epoch_*.json
7
  **/epoch_*.pth
8
+ =======
9
+ **/my_experiment
10
+ >>>>>>> 350e8d022fa69c2a4d60d9fba31f64ff909e9727
ffl/224/v4_image_bs4x16/.hydra/config.yaml DELETED
@@ -1,240 +0,0 @@
1
- host:
2
- name: gin
3
- data_root: /data/rsulzer/${..dataset.name}_dataset
4
- model_root: /data/rsulzer/${..dataset.name}_output
5
- multi_gpu: false
6
- device: cuda
7
- update_pbar_every: 1
8
- ldof_exe: /user/rsulzer/home/cpp/line-DOF-metric/build/calculate_DoF
9
- run_type:
10
- name: debug
11
- batch_size: 16
12
- train_subset: 256
13
- val_subset: 32
14
- test_subset: 32
15
- logging: DEBUG
16
- num_workers: 0
17
- log_to_wandb: false
18
- dataset:
19
- name: PixelsPointsPolygons
20
- size: ${..experiment.encoder.in_size}
21
- path: ${host.data_root}/data/${.size}
22
- annotations:
23
- train: ${..path}/annotations/annotations_${...experiment.country}_train.json
24
- val: ${..path}/annotations/annotations_${...experiment.country}_val.json
25
- test: ${..path}/annotations/annotations_${...experiment.country}_test.json
26
- ffl_stats:
27
- train: ${..path}/ffl/train/stats-${...experiment.country}.pt
28
- val: ${..path}/ffl/val/stats-${...experiment.country}.pt
29
- test: ${..path}/ffl/test/stats-${...experiment.country}.pt
30
- train_subset: ${..run_type.train_subset}
31
- val_subset: ${..run_type.val_subset}
32
- test_subset: ${..run_type.test_subset}
33
- experiment:
34
- encoder:
35
- name: vit_cnn
36
- use_images: true
37
- use_lidar: false
38
- type: vit_small_patch${.patch_size}_${.in_size}.dino
39
- checkpoint_file: ${...host.model_root}/backbones/dino_deitsmall8_pretrain.pth
40
- pretrained: true
41
- in_size: 224
42
- in_height: ${.in_size}
43
- in_width: ${.in_size}
44
- patch_size: 8
45
- patch_feature_size: 28
46
- patch_feature_height: ${.patch_feature_size}
47
- patch_feature_width: ${.patch_feature_size}
48
- patch_feature_dim: 384
49
- out_feature_size: ${..model.decoder.in_feature_size}
50
- out_feature_height: ${.out_feature_size}
51
- out_feature_width: ${.out_feature_size}
52
- out_feature_dim: ${..model.decoder.in_feature_dim}
53
- image_mean:
54
- - 0.0
55
- - 0.0
56
- - 0.0
57
- image_std:
58
- - 1.0
59
- - 1.0
60
- - 1.0
61
- image_max_pixel_value: 255.0
62
- augmentations:
63
- - D4
64
- - ColorJitter
65
- - GaussNoise
66
- - Normalize
67
- model:
68
- name: ffl
69
- compute_seg: true
70
- compute_crossfield: true
71
- seg:
72
- compute_interior: true
73
- compute_edge: false
74
- compute_vertex: false
75
- decoder:
76
- in_feature_size: ${...encoder.in_size}
77
- in_feature_width: ${.in_feature_size}
78
- in_feature_height: ${.in_feature_size}
79
- in_feature_dim: ${if:${eq:${.in_feature_size},512}, 32, 256}
80
- point_pillars:
81
- out_channels:
82
- - ${...decoder.in_feature_dim}
83
- - ${...decoder.in_feature_dim}
84
- - ${...decoder.in_feature_dim}]
85
- upsample_strides:
86
- - 4
87
- - 8
88
- - 16
89
- loss:
90
- multi:
91
- epoch_thresholds:
92
- - 0
93
- - 5
94
- - 10
95
- weights:
96
- seg: 1
97
- crossfield_align: 1
98
- crossfield_align90: 0.5
99
- crossfield_smooth: 0.005
100
- seg_interior_crossfield:
101
- - 0
102
- - 0
103
- - 0.2
104
- seg_edge_crossfield:
105
- - 0
106
- - 0
107
- - 0.2
108
- seg_edge_interior:
109
- - 0
110
- - 0
111
- - 0.2
112
- seg:
113
- bce_coef: 1.0
114
- dice_coef: 0.2
115
- use_freq: false
116
- use_dist: false
117
- use_size: false
118
- w0: 50
119
- sigma: 10
120
- type: bool
121
- batch_size: ${...run_type.batch_size}
122
- start_epoch: 0
123
- num_epochs: 200
124
- milestone: 0
125
- learning_rate: 0.0001
126
- weight_decay: 0.0
127
- gamma: 0.95
128
- eval:
129
- patch_size: null
130
- patch_overlap: 200
131
- seg_threshold: 0.5
132
- polygonization:
133
- method:
134
- - acm
135
- common_params:
136
- init_data_level: 0.5
137
- simple_method:
138
- data_level: 0.5
139
- tolerance:
140
- - 1.0
141
- seg_threshold: 0.5
142
- min_area: 10
143
- asm_method:
144
- init_method: skeleton
145
- data_level: 0.5
146
- loss_params:
147
- coefs:
148
- step_thresholds:
149
- - 0
150
- - 100
151
- - 200
152
- - 300
153
- data:
154
- - 1.0
155
- - 0.1
156
- - 0.0
157
- - 0.0
158
- crossfield:
159
- - 0.0
160
- - 0.05
161
- - 0.0
162
- - 0.0
163
- length:
164
- - 0.1
165
- - 0.01
166
- - 0.0
167
- - 0.0
168
- curvature:
169
- - 0.0
170
- - 0.0
171
- - 1.0
172
- - 0.0
173
- corner:
174
- - 0.0
175
- - 0.0
176
- - 0.5
177
- - 0.0
178
- junction:
179
- - 0.0
180
- - 0.0
181
- - 0.5
182
- - 0.0
183
- curvature_dissimilarity_threshold: 2
184
- corner_angles:
185
- - 45
186
- - 90
187
- - 135
188
- corner_angle_threshold: 22.5
189
- junction_angles:
190
- - 0
191
- - 45
192
- - 90
193
- - 135
194
- junction_angle_weights:
195
- - 1
196
- - 0.01
197
- - 0.1
198
- - 0.01
199
- junction_angle_threshold: 22.5
200
- lr: 0.1
201
- gamma: 0.995
202
- device: cuda
203
- tolerance:
204
- - 1
205
- seg_threshold: 0.5
206
- min_area: 10
207
- acm_method:
208
- steps: 500
209
- data_level: 0.5
210
- data_coef: 0.1
211
- length_coef: 0.4
212
- crossfield_coef: 0.5
213
- poly_lr: 0.01
214
- warmup_iters: 100
215
- warmup_factor: 0.1
216
- device: cuda
217
- tolerance:
218
- - 1
219
- seg_threshold: 0.5
220
- min_area: 10
221
- name: v4_image_bs4x16
222
- group_name: v2_${.model.name}
223
- country: CH
224
- training:
225
- save_best: true
226
- save_latest: true
227
- save_every: 10
228
- val_every: 1
229
- best_val_loss: 10000000.0
230
- best_val_iou: 0.0
231
- evaluation:
232
- split: val
233
- pred_file: ${..output_dir}/predictions_${..experiment.country}_${.split}/${..checkpoint}.json
234
- modes:
235
- - iou
236
- eval_file: results/metrics
237
- output_dir: ${.host.model_root}/${.experiment.model.name}/${.experiment.encoder.in_size}/${.experiment.name}
238
- checkpoint: best_val_iou
239
- num_workers: ${.run_type.num_workers}
240
- image_file: demo_data/image0_CH_val.tif
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ffl/224/v4_image_bs4x16/.hydra/hydra.yaml DELETED
@@ -1,168 +0,0 @@
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=debug
116
- - host=gin
117
- - checkpoint=best_val_iou
118
- - experiment=ffl_image
119
- - +image_file=demo_data/image0_CH_val.tif
120
- job:
121
- name: predict_demo
122
- chdir: null
123
- override_dirname: +image_file=demo_data/image0_CH_val.tif,checkpoint=best_val_iou,experiment=ffl_image,host=gin,run_type=debug
124
- id: ???
125
- num: ???
126
- config_name: config
127
- env_set: {}
128
- env_copy: []
129
- config:
130
- override_dirname:
131
- kv_sep: '='
132
- item_sep: ','
133
- exclude_keys: []
134
- runtime:
135
- version: 1.3.2
136
- version_base: '1.3'
137
- cwd: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons
138
- config_sources:
139
- - path: hydra.conf
140
- schema: pkg
141
- provider: hydra
142
- - path: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons/config
143
- schema: file
144
- provider: main
145
- - path: ''
146
- schema: structured
147
- provider: schema
148
- output_dir: /data/rsulzer/PixelsPointsPolygons_output/ffl/224/v4_image_bs4x16
149
- choices:
150
- evaluation: val
151
- training: default
152
- experiment: ffl_image
153
- polygonization@experiment.polygonization: asm_acm
154
- model@experiment.model: ffl
155
- encoder@experiment.encoder: vit_cnn
156
- dataset: p3
157
- run_type: debug
158
- host: gin
159
- hydra/env: default
160
- hydra/callbacks: null
161
- hydra/job_logging: default
162
- hydra/hydra_logging: default
163
- hydra/hydra_help: default
164
- hydra/help: default
165
- hydra/sweeper: basic
166
- hydra/launcher: basic
167
- hydra/output: default
168
- verbose: false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ffl/224/v4_image_bs4x16/.hydra/overrides.yaml DELETED
@@ -1,5 +0,0 @@
1
- - run_type=debug
2
- - host=gin
3
- - checkpoint=best_val_iou
4
- - experiment=ffl_image
5
- - +image_file=demo_data/image0_CH_val.tif
 
 
 
 
 
 
hisup/224/v3_image_vit_cnn_bs4x12/.hydra/config.yaml DELETED
@@ -1,114 +0,0 @@
1
- host:
2
- name: gin
3
- data_root: /data/rsulzer/${..dataset.name}_dataset
4
- model_root: /data/rsulzer/${..dataset.name}_output
5
- multi_gpu: false
6
- device: cuda
7
- update_pbar_every: 1
8
- ldof_exe: /user/rsulzer/home/cpp/line-DOF-metric/build/calculate_DoF
9
- run_type:
10
- name: debug
11
- batch_size: 16
12
- train_subset: 256
13
- val_subset: 32
14
- test_subset: 32
15
- logging: DEBUG
16
- num_workers: 0
17
- log_to_wandb: false
18
- dataset:
19
- name: PixelsPointsPolygons
20
- size: ${..experiment.encoder.in_size}
21
- path: ${host.data_root}/data/${.size}
22
- annotations:
23
- train: ${..path}/annotations/annotations_${...experiment.country}_train.json
24
- val: ${..path}/annotations/annotations_${...experiment.country}_val.json
25
- test: ${..path}/annotations/annotations_${...experiment.country}_test.json
26
- ffl_stats:
27
- train: ${..path}/ffl/train/stats-${...experiment.country}.pt
28
- val: ${..path}/ffl/val/stats-${...experiment.country}.pt
29
- test: ${..path}/ffl/test/stats-${...experiment.country}.pt
30
- train_subset: ${..run_type.train_subset}
31
- val_subset: ${..run_type.val_subset}
32
- test_subset: ${..run_type.test_subset}
33
- experiment:
34
- encoder:
35
- name: vit_cnn
36
- use_images: true
37
- use_lidar: false
38
- type: vit_small_patch${.patch_size}_${.in_size}.dino
39
- checkpoint_file: ${...host.model_root}/backbones/dino_deitsmall8_pretrain.pth
40
- pretrained: true
41
- in_size: 224
42
- in_height: ${.in_size}
43
- in_width: ${.in_size}
44
- patch_size: 8
45
- patch_feature_size: 28
46
- patch_feature_height: ${.patch_feature_size}
47
- patch_feature_width: ${.patch_feature_size}
48
- patch_feature_dim: 384
49
- out_feature_size: ${..model.decoder.in_feature_size}
50
- out_feature_height: ${.out_feature_size}
51
- out_feature_width: ${.out_feature_size}
52
- out_feature_dim: ${..model.decoder.in_feature_dim}
53
- image_mean:
54
- - 0.0
55
- - 0.0
56
- - 0.0
57
- image_std:
58
- - 1.0
59
- - 1.0
60
- - 1.0
61
- image_max_pixel_value: 255.0
62
- augmentations:
63
- - D4
64
- - ColorJitter
65
- - GaussNoise
66
- - Normalize
67
- model:
68
- name: hisup
69
- decoder:
70
- in_feature_size: 224
71
- in_feature_width: ${.in_feature_size}
72
- in_feature_height: ${.in_feature_size}
73
- in_feature_dim: 256
74
- point_pillars:
75
- out_channels:
76
- - 128
77
- - 128
78
- - 128
79
- upsample_strides:
80
- - 1
81
- - 2
82
- - 4
83
- batch_size: ${...run_type.batch_size}
84
- start_epoch: 0
85
- num_epochs: 200
86
- milestone: 0
87
- learning_rate: 0.0001
88
- weight_decay: 0.0001
89
- loss_weights:
90
- loss_joff: 0.25
91
- loss_jloc: 8.0
92
- loss_mask: 1.0
93
- loss_afm: 0.1
94
- loss_remask: 1.0
95
- name: v3_image_vit_cnn_bs4x12
96
- group_name: v2_${.model.name}
97
- country: CH
98
- training:
99
- save_best: true
100
- save_latest: true
101
- save_every: 10
102
- val_every: 1
103
- best_val_loss: 10000000.0
104
- best_val_iou: 0.0
105
- evaluation:
106
- split: val
107
- pred_file: ${..output_dir}/predictions_${..experiment.country}_${.split}/${..checkpoint}.json
108
- modes:
109
- - iou
110
- eval_file: results/metrics
111
- output_dir: ${.host.model_root}/${.experiment.model.name}/${.experiment.encoder.in_size}/${.experiment.name}
112
- checkpoint: best_val_iou
113
- num_workers: ${.run_type.num_workers}
114
- image_file: demo_data/image0_CH_val.tif
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hisup/224/v3_image_vit_cnn_bs4x12/.hydra/hydra.yaml DELETED
@@ -1,167 +0,0 @@
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=debug
116
- - host=gin
117
- - checkpoint=best_val_iou
118
- - experiment=hisup_image
119
- - +image_file=demo_data/image0_CH_val.tif
120
- job:
121
- name: predict_demo
122
- chdir: null
123
- override_dirname: +image_file=demo_data/image0_CH_val.tif,checkpoint=best_val_iou,experiment=hisup_image,host=gin,run_type=debug
124
- id: ???
125
- num: ???
126
- config_name: config
127
- env_set: {}
128
- env_copy: []
129
- config:
130
- override_dirname:
131
- kv_sep: '='
132
- item_sep: ','
133
- exclude_keys: []
134
- runtime:
135
- version: 1.3.2
136
- version_base: '1.3'
137
- cwd: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons
138
- config_sources:
139
- - path: hydra.conf
140
- schema: pkg
141
- provider: hydra
142
- - path: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons/config
143
- schema: file
144
- provider: main
145
- - path: ''
146
- schema: structured
147
- provider: schema
148
- output_dir: /data/rsulzer/PixelsPointsPolygons_output/hisup/224/v3_image_vit_cnn_bs4x12
149
- choices:
150
- evaluation: val
151
- training: default
152
- experiment: hisup_image
153
- model@experiment.model: hisup
154
- encoder@experiment.encoder: vit_cnn
155
- dataset: p3
156
- run_type: debug
157
- host: gin
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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hisup/224/v3_image_vit_cnn_bs4x12/.hydra/overrides.yaml DELETED
@@ -1,5 +0,0 @@
1
- - run_type=debug
2
- - host=gin
3
- - checkpoint=best_val_iou
4
- - experiment=hisup_image
5
- - +image_file=demo_data/image0_CH_val.tif
 
 
 
 
 
 
pix2poly/224/early_fusion_bs2x16_mnv64/.hydra/config.yaml DELETED
@@ -1,123 +0,0 @@
1
- host:
2
- name: gin
3
- data_root: /data/rsulzer/${..dataset.name}_dataset
4
- model_root: /data/rsulzer/${..dataset.name}_output
5
- multi_gpu: false
6
- device: cuda
7
- update_pbar_every: 1
8
- ldof_exe: /user/rsulzer/home/cpp/line-DOF-metric/build/calculate_DoF
9
- dino_v2_repo: /user/rsulzer/home/remote_python/dinov2
10
- run_type:
11
- name: release
12
- batch_size: 16
13
- train_subset: null
14
- val_subset: null
15
- test_subset: null
16
- logging: INFO
17
- num_workers: 16
18
- log_to_wandb: true
19
- dataset:
20
- name: PixelsPointsPolygons
21
- size: ${..experiment.encoder.in_size}
22
- path: ${host.data_root}/data/${.size}
23
- annotations:
24
- train: ${..path}/annotations/annotations_${...experiment.country}_train.json
25
- val: ${..path}/annotations/annotations_${...experiment.country}_val.json
26
- test: ${..path}/annotations/annotations_${...experiment.country}_test.json
27
- ffl_stats:
28
- train: ${..path}/ffl/train/stats-${...experiment.country}.pt
29
- val: ${..path}/ffl/val/stats-${...experiment.country}.pt
30
- test: ${..path}/ffl/test/stats-${...experiment.country}.pt
31
- train_subset: ${..run_type.train_subset}
32
- val_subset: ${..run_type.val_subset}
33
- test_subset: ${..run_type.test_subset}
34
- experiment:
35
- encoder:
36
- name: early_fusion_vit
37
- use_images: true
38
- use_lidar: true
39
- in_size: 224
40
- in_height: ${.in_size}
41
- in_width: ${.in_size}
42
- in_voxel_size:
43
- x: 8
44
- 'y': 8
45
- z: 100
46
- max_num_points_per_voxel: 64
47
- max_num_voxels:
48
- train: 784
49
- test: 784
50
- out_feature_width: 28
51
- out_feature_height: 28
52
- vit:
53
- type: vit_small_patch${..patch_size}_${..in_size}.dino
54
- checkpoint_file: ${....host.model_root}/backbones/dino_deitsmall8_pretrain.pth
55
- pretrained: true
56
- patch_size: 8
57
- patch_feature_size: 28
58
- patch_feature_height: ${.patch_feature_size}
59
- patch_feature_width: ${.patch_feature_size}
60
- patch_feature_dim: 384
61
- num_patches: 784
62
- out_feature_dim: ${..model.decoder.in_feature_dim}
63
- image_mean:
64
- - 0.0
65
- - 0.0
66
- - 0.0
67
- image_std:
68
- - 1.0
69
- - 1.0
70
- - 1.0
71
- image_max_pixel_value: 255.0
72
- augmentations:
73
- - D4
74
- - ColorJitter
75
- - GaussNoise
76
- - Normalize
77
- model:
78
- name: pix2poly
79
- decoder:
80
- in_feature_size: ${...encoder.patch_feature_size}
81
- in_feature_width: ${.in_feature_size}
82
- in_feature_height: ${.in_feature_size}
83
- in_feature_dim: 256
84
- tokenizer:
85
- num_bins: ${...encoder.in_size}
86
- shuffle_tokens: false
87
- n_vertices: 192
88
- max_len: null
89
- pad_idx: null
90
- generation_steps: null
91
- fusion: patch_concat
92
- sinkhorn_iterations: 100
93
- label_smoothing: 0.0
94
- vertex_loss_weight: 1.0
95
- perm_loss_weight: 10.0
96
- batch_size: ${...run_type.batch_size}
97
- start_epoch: 0
98
- num_epochs: 200
99
- milestone: 0
100
- learning_rate: 0.0003
101
- weight_decay: 0.0001
102
- name: early_fusion_bs2x16_mnv64
103
- group_name: v2_${.model.name}
104
- lidar_dropout: null
105
- country: all
106
- training:
107
- save_best: true
108
- save_latest: true
109
- save_every: 10
110
- val_every: 1
111
- best_val_loss: 10000000.0
112
- best_val_iou: 0.0
113
- evaluation:
114
- split: val
115
- pred_file: ${..output_dir}/predictions_${..experiment.country}_${.split}/${..checkpoint}.json
116
- modes:
117
- - iou
118
- eval_file: results/metrics
119
- output_dir: ${.host.model_root}/${.experiment.model.name}/${.experiment.encoder.in_size}/${.experiment.name}
120
- checkpoint: best_val_iou
121
- num_workers: ${.run_type.num_workers}
122
- image_file: demo_data/image0_CH_val.tif
123
- lidar_file: demo_data/lidar0_CH_val.copc.laz
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pix2poly/224/early_fusion_bs2x16_mnv64/.hydra/hydra.yaml DELETED
@@ -1,167 +0,0 @@
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
- - checkpoint=best_val_iou
116
- - experiment=p2p_fusion
117
- - +image_file=demo_data/image0_CH_val.tif
118
- - +lidar_file=demo_data/lidar0_CH_val.copc.laz
119
- - host=gin
120
- job:
121
- name: predict_demo
122
- chdir: null
123
- override_dirname: +image_file=demo_data/image0_CH_val.tif,+lidar_file=demo_data/lidar0_CH_val.copc.laz,checkpoint=best_val_iou,experiment=p2p_fusion,host=gin
124
- id: ???
125
- num: ???
126
- config_name: config
127
- env_set: {}
128
- env_copy: []
129
- config:
130
- override_dirname:
131
- kv_sep: '='
132
- item_sep: ','
133
- exclude_keys: []
134
- runtime:
135
- version: 1.3.2
136
- version_base: '1.3'
137
- cwd: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons
138
- config_sources:
139
- - path: hydra.conf
140
- schema: pkg
141
- provider: hydra
142
- - path: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons/config
143
- schema: file
144
- provider: main
145
- - path: ''
146
- schema: structured
147
- provider: schema
148
- output_dir: /data/rsulzer/PixelsPointsPolygons_output/pix2poly/224/early_fusion_bs2x16_mnv64
149
- choices:
150
- evaluation: val
151
- training: default
152
- experiment: p2p_fusion
153
- model@experiment.model: pix2poly
154
- encoder@experiment.encoder: early_fusion_vit
155
- dataset: p3
156
- run_type: release
157
- host: gin
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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pix2poly/224/early_fusion_bs2x16_mnv64/.hydra/overrides.yaml DELETED
@@ -1,5 +0,0 @@
1
- - checkpoint=best_val_iou
2
- - experiment=p2p_fusion
3
- - +image_file=demo_data/image0_CH_val.tif
4
- - +lidar_file=demo_data/lidar0_CH_val.copc.laz
5
- - host=gin
 
 
 
 
 
 
pix2poly/224/v4_image_vit_bs4x16/.hydra/config.yaml DELETED
@@ -1,111 +0,0 @@
1
- host:
2
- name: gin
3
- data_root: /data/rsulzer/${..dataset.name}_dataset
4
- model_root: /data/rsulzer/${..dataset.name}_output
5
- multi_gpu: false
6
- device: cuda
7
- update_pbar_every: 1
8
- ldof_exe: /user/rsulzer/home/cpp/line-DOF-metric/build/calculate_DoF
9
- dino_v2_repo: /user/rsulzer/home/remote_python/dinov2
10
- run_type:
11
- name: release
12
- batch_size: 16
13
- train_subset: null
14
- val_subset: null
15
- test_subset: null
16
- logging: INFO
17
- num_workers: 16
18
- log_to_wandb: false
19
- dataset:
20
- name: PixelsPointsPolygons
21
- size: ${..experiment.encoder.in_size}
22
- path: ${host.data_root}/data/${.size}
23
- annotation_type: blocks
24
- annotations:
25
- train: ${..path}/annotations/${..annotation_type}/annotations_${...experiment.country}_train.json
26
- val: ${..path}/annotations/${..annotation_type}/annotations_${...experiment.country}_val.json
27
- test: ${..path}/annotations/${..annotation_type}/annotations_${...experiment.country}_test.json
28
- ffl_stats:
29
- train: ${..path}/ffl/train/stats-${...experiment.country}.pt
30
- val: ${..path}/ffl/val/stats-${...experiment.country}.pt
31
- test: ${..path}/ffl/test/stats-${...experiment.country}.pt
32
- train_subset: ${..run_type.train_subset}
33
- val_subset: ${..run_type.val_subset}
34
- test_subset: ${..run_type.test_subset}
35
- experiment:
36
- encoder:
37
- name: vit
38
- use_images: true
39
- use_lidar: false
40
- type: vit_small_patch${.patch_size}_${.in_size}.dino
41
- checkpoint_file: ${...host.model_root}/backbones/dino_deitsmall8_pretrain.pth
42
- pretrained: true
43
- in_size: 224
44
- in_height: ${.in_size}
45
- in_width: ${.in_size}
46
- patch_size: 8
47
- patch_feature_size: 28
48
- patch_feature_height: ${.patch_feature_size}
49
- patch_feature_width: ${.patch_feature_size}
50
- patch_feature_dim: 384
51
- num_patches: 784
52
- out_feature_dim: ${..model.decoder.in_feature_dim}
53
- image_mean:
54
- - 0.0
55
- - 0.0
56
- - 0.0
57
- image_std:
58
- - 1.0
59
- - 1.0
60
- - 1.0
61
- image_max_pixel_value: 255.0
62
- augmentations:
63
- - D4
64
- - ColorJitter
65
- - GaussNoise
66
- - Normalize
67
- model:
68
- name: pix2poly
69
- decoder:
70
- in_feature_size: ${...encoder.patch_feature_size}
71
- in_feature_width: ${.in_feature_size}
72
- in_feature_height: ${.in_feature_size}
73
- in_feature_dim: 256
74
- tokenizer:
75
- num_bins: ${...encoder.in_size}
76
- shuffle_tokens: false
77
- n_vertices: 192
78
- max_len: null
79
- pad_idx: null
80
- generation_steps: null
81
- fusion: patch_concat
82
- sinkhorn_iterations: 100
83
- label_smoothing: 0.0
84
- vertex_loss_weight: 1.0
85
- perm_loss_weight: 10.0
86
- batch_size: ${...run_type.batch_size}
87
- start_epoch: 0
88
- num_epochs: 200
89
- milestone: 0
90
- learning_rate: 0.0003
91
- weight_decay: 0.0001
92
- name: v4_image_vit_bs4x16
93
- group_name: v2_${.model.name}
94
- lidar_dropout: null
95
- country: NY
96
- training:
97
- save_best: true
98
- save_latest: true
99
- save_every: 10
100
- val_every: 1
101
- best_val_loss: 10000000.0
102
- best_val_iou: 0.0
103
- evaluation:
104
- split: val
105
- pred_file: ${..output_dir}/predictions_${..experiment.country}_${.split}/${..checkpoint}.json
106
- modes:
107
- - iou
108
- eval_file: results/metrics
109
- output_dir: ${.host.model_root}/${.experiment.model.name}/${.experiment.encoder.in_size}/${.experiment.name}
110
- checkpoint: best_val_iou
111
- num_workers: ${.run_type.num_workers}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pix2poly/224/v4_image_vit_bs4x16/.hydra/hydra.yaml DELETED
@@ -1,169 +0,0 @@
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
- - run_type.log_to_wandb=false
118
- - checkpoint=best_val_iou
119
- - experiment=p2p_image
120
- - experiment.country=NY
121
- - evaluation=val
122
- job:
123
- name: predict
124
- chdir: null
125
- override_dirname: checkpoint=best_val_iou,evaluation=val,experiment.country=NY,experiment=p2p_image,host=gin,run_type.log_to_wandb=false,run_type=release
126
- id: ???
127
- num: ???
128
- config_name: config
129
- env_set: {}
130
- env_copy: []
131
- config:
132
- override_dirname:
133
- kv_sep: '='
134
- item_sep: ','
135
- exclude_keys: []
136
- runtime:
137
- version: 1.3.2
138
- version_base: '1.3'
139
- cwd: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons
140
- config_sources:
141
- - path: hydra.conf
142
- schema: pkg
143
- provider: hydra
144
- - path: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons/config
145
- schema: file
146
- provider: main
147
- - path: ''
148
- schema: structured
149
- provider: schema
150
- output_dir: /data/rsulzer/PixelsPointsPolygons_output/pix2poly/224/v4_image_vit_bs4x16
151
- choices:
152
- evaluation: val
153
- training: default
154
- experiment: p2p_image
155
- model@experiment.model: pix2poly
156
- encoder@experiment.encoder: vit
157
- dataset: p3
158
- run_type: release
159
- host: gin
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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pix2poly/224/v4_image_vit_bs4x16/.hydra/overrides.yaml DELETED
@@ -1,7 +0,0 @@
1
- - run_type=release
2
- - host=gin
3
- - run_type.log_to_wandb=false
4
- - checkpoint=best_val_iou
5
- - experiment=p2p_image
6
- - experiment.country=NY
7
- - evaluation=val