rsi commited on
Commit
3c9202e
·
1 Parent(s): 3671fdb

add building fusion gi

Browse files
pix2poly/224/building_fusion/checkpoints/best_val_iou.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:43ff0eca24452a9e6b4ae9843ac3afbf60adc0fe6c1c5766b024447e2e975485
3
  size 415470378
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2d75ab43b66eb86d507569136db6a7a0974e21353768a6a969dd6459cbb6ae1
3
  size 415470378
pix2poly/224/building_fusion/checkpoints/best_val_loss.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e9b9df52d8f784cddc64d6e398adb41559bfa130d7be2fdf05ec8f3e66a83443
3
  size 415471617
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e73c6b7d10e10c66559f58a364ecda46b9e5aedc3d7003c9ffbc349791858a9e
3
  size 415471617
pix2poly/224/building_fusion/checkpoints/latest.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e679c706725432b2c152168846feee5ac165f2c3f2ae0cc2747df0d7a349aef0
3
  size 415458400
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02d84907d4a5349314f1690f71c21cae9591383b259b84dbad9ece5a3207b705
3
  size 415458400
pix2poly/224/building_fusion/predictions_CH_val/best_val_iou.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:555ab584b1bcf315ac08cbd5506b729e49577aefda348e286c8f54d1385c3b52
3
- size 426893
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb7b0642b70b6c9775db5bac78d9e1786bea4e13c84c03de387fd5218e90fc93
3
+ size 850024
pix2poly/224/early_fusion_bs2x16_mnv64/.hydra/config.yaml DELETED
@@ -1,122 +0,0 @@
1
- host:
2
- name: gin
3
- data_root: /data/rsulzer/${..dataset.name}
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: early_fusion_vit
36
- use_images: true
37
- use_lidar: true
38
- in_size: 224
39
- in_height: ${.in_size}
40
- in_width: ${.in_size}
41
- in_voxel_size:
42
- x: 8
43
- 'y': 8
44
- z: 100
45
- max_num_points_per_voxel: 64
46
- max_num_voxels:
47
- train: 784
48
- test: 784
49
- out_feature_width: 28
50
- out_feature_height: 28
51
- vit:
52
- type: vit_small_patch${..patch_size}_${..in_size}.dino
53
- checkpoint_file: ${....host.model_root}/backbones/dino_deitsmall8_pretrain.pth
54
- pretrained: true
55
- patch_size: 8
56
- patch_feature_size: 28
57
- patch_feature_height: ${.patch_feature_size}
58
- patch_feature_width: ${.patch_feature_size}
59
- patch_feature_dim: 384
60
- num_patches: 784
61
- out_feature_dim: ${..model.decoder.in_feature_dim}
62
- image_mean:
63
- - 0.0
64
- - 0.0
65
- - 0.0
66
- image_std:
67
- - 1.0
68
- - 1.0
69
- - 1.0
70
- image_max_pixel_value: 255.0
71
- augmentations:
72
- - D4
73
- - ColorJitter
74
- - GaussNoise
75
- - Normalize
76
- model:
77
- name: pix2poly
78
- decoder:
79
- in_feature_size: ${...encoder.patch_feature_size}
80
- in_feature_width: ${.in_feature_size}
81
- in_feature_height: ${.in_feature_size}
82
- in_feature_dim: 256
83
- tokenizer:
84
- num_bins: ${...encoder.in_size}
85
- shuffle_tokens: false
86
- n_vertices: 192
87
- max_len: null
88
- pad_idx: null
89
- generation_steps: null
90
- fusion: patch_concat
91
- sinkhorn_iterations: 100
92
- label_smoothing: 0.0
93
- vertex_loss_weight: 1.0
94
- perm_loss_weight: 10.0
95
- batch_size: ${...run_type.batch_size}
96
- start_epoch: 0
97
- num_epochs: 200
98
- milestone: 0
99
- learning_rate: 0.0003
100
- weight_decay: 0.0001
101
- name: early_fusion_bs2x16_mnv64
102
- group_name: v2_${.model.name}
103
- country: all
104
- training:
105
- save_best: true
106
- save_latest: true
107
- save_every: 10
108
- val_every: 1
109
- best_val_loss: 10000000.0
110
- best_val_iou: 0.0
111
- evaluation:
112
- split: val
113
- pred_file: ${..output_dir}/predictions_${..experiment.country}_${.split}/${..checkpoint}.json
114
- modes:
115
- - iou
116
- eval_file: results/metrics
117
- experiment.name: debug
118
- output_dir: ${.host.model_root}/${.experiment.model.name}/${.experiment.encoder.in_size}/${.experiment.name}
119
- checkpoint: best_val_iou
120
- num_workers: ${.run_type.num_workers}
121
- image_file: demo_data/image0_CH_val.tif
122
- lidar_file: demo_data/lidar0_CH_val.copc.laz
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pix2poly/224/early_fusion_bs2x16_mnv64/.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=p2p_fusion
119
- - +image_file=demo_data/image0_CH_val.tif
120
- - +lidar_file=demo_data/lidar0_CH_val.copc.laz
121
- job:
122
- name: predict_demo
123
- chdir: null
124
- 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,run_type=debug
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: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons
139
- config_sources:
140
- - path: hydra.conf
141
- schema: pkg
142
- provider: hydra
143
- - path: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons/config
144
- schema: file
145
- provider: main
146
- - path: ''
147
- schema: structured
148
- provider: schema
149
- output_dir: /data/rsulzer/PixelsPointsPolygons_output/pix2poly/224/early_fusion_bs2x16_mnv64
150
- choices:
151
- evaluation: val
152
- training: default
153
- experiment: p2p_fusion
154
- model@experiment.model: pix2poly
155
- encoder@experiment.encoder: early_fusion_vit
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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pix2poly/224/early_fusion_bs2x16_mnv64/.hydra/overrides.yaml DELETED
@@ -1,6 +0,0 @@
1
- - run_type=debug
2
- - host=gin
3
- - checkpoint=best_val_iou
4
- - experiment=p2p_fusion
5
- - +image_file=demo_data/image0_CH_val.tif
6
- - +lidar_file=demo_data/lidar0_CH_val.copc.laz
 
 
 
 
 
 
 
pix2poly/224/v4_image_vit_bs4x16/.hydra/config.yaml DELETED
@@ -1,109 +0,0 @@
1
- host:
2
- name: gin
3
- data_root: /data/rsulzer/${..dataset.name}
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: release
11
- batch_size: 16
12
- train_subset: null
13
- val_subset: null
14
- test_subset: null
15
- logging: INFO
16
- num_workers: 16
17
- log_to_wandb: true
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
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
- num_patches: 784
50
- out_feature_dim: ${..model.decoder.in_feature_dim}
51
- image_mean:
52
- - 0.0
53
- - 0.0
54
- - 0.0
55
- image_std:
56
- - 1.0
57
- - 1.0
58
- - 1.0
59
- image_max_pixel_value: 255.0
60
- augmentations:
61
- - D4
62
- - ColorJitter
63
- - GaussNoise
64
- - Normalize
65
- model:
66
- name: pix2poly
67
- decoder:
68
- in_feature_size: ${...encoder.patch_feature_size}
69
- in_feature_width: ${.in_feature_size}
70
- in_feature_height: ${.in_feature_size}
71
- in_feature_dim: 256
72
- tokenizer:
73
- num_bins: ${...encoder.in_size}
74
- shuffle_tokens: false
75
- n_vertices: 192
76
- max_len: null
77
- pad_idx: null
78
- generation_steps: null
79
- fusion: patch_concat
80
- sinkhorn_iterations: 100
81
- label_smoothing: 0.0
82
- vertex_loss_weight: 1.0
83
- perm_loss_weight: 10.0
84
- batch_size: ${...run_type.batch_size}
85
- start_epoch: 0
86
- num_epochs: 200
87
- milestone: 0
88
- learning_rate: 0.0003
89
- weight_decay: 0.0001
90
- name: v4_image_vit_bs4x16
91
- group_name: v2_${.model.name}
92
- country: CH
93
- training:
94
- save_best: true
95
- save_latest: true
96
- save_every: 10
97
- val_every: 1
98
- best_val_loss: 10000000.0
99
- best_val_iou: 0.0
100
- evaluation:
101
- split: val
102
- pred_file: ${..output_dir}/predictions_${..experiment.country}_${.split}/${..checkpoint}.json
103
- modes:
104
- - iou
105
- eval_file: results/metrics
106
- output_dir: ${.host.model_root}/${.experiment.model.name}/${.experiment.encoder.in_size}/${.experiment.name}
107
- checkpoint: best_val_iou
108
- num_workers: ${.run_type.num_workers}
109
- image_file: /user/rsulzer/home/inria.tiff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pix2poly/224/v4_image_vit_bs4x16/.hydra/hydra.yaml DELETED
@@ -1,166 +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_image
117
- - +image_file=/user/rsulzer/home/inria.tiff
118
- - host=gin
119
- job:
120
- name: predict_demo
121
- chdir: null
122
- override_dirname: +image_file=/user/rsulzer/home/inria.tiff,checkpoint=best_val_iou,experiment=p2p_image,host=gin
123
- id: ???
124
- num: ???
125
- config_name: config
126
- env_set: {}
127
- env_copy: []
128
- config:
129
- override_dirname:
130
- kv_sep: '='
131
- item_sep: ','
132
- exclude_keys: []
133
- runtime:
134
- version: 1.3.2
135
- version_base: '1.3'
136
- cwd: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons
137
- config_sources:
138
- - path: hydra.conf
139
- schema: pkg
140
- provider: hydra
141
- - path: /run/netsop/u/home-sam/home/rsulzer/remote_python/pixelspointspolygons/config
142
- schema: file
143
- provider: main
144
- - path: ''
145
- schema: structured
146
- provider: schema
147
- output_dir: /data/rsulzer/PixelsPointsPolygons_output/pix2poly/224/v4_image_vit_bs4x16
148
- choices:
149
- evaluation: val
150
- training: default
151
- experiment: p2p_image
152
- model@experiment.model: pix2poly
153
- encoder@experiment.encoder: vit
154
- dataset: p3
155
- run_type: release
156
- host: gin
157
- hydra/env: default
158
- hydra/callbacks: null
159
- hydra/job_logging: default
160
- hydra/hydra_logging: default
161
- hydra/hydra_help: default
162
- hydra/help: default
163
- hydra/sweeper: basic
164
- hydra/launcher: basic
165
- hydra/output: default
166
- verbose: false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pix2poly/224/v4_image_vit_bs4x16/.hydra/overrides.yaml DELETED
@@ -1,4 +0,0 @@
1
- - checkpoint=best_val_iou
2
- - experiment=p2p_image
3
- - +image_file=/user/rsulzer/home/inria.tiff
4
- - host=gin