Skip to content

Commit 82ad88a

Browse files
committed
Fix a bug:CenterShift needs to apply on extrinsic too
1 parent 83d5ad4 commit 82ad88a

File tree

4 files changed

+42
-6
lines changed

4 files changed

+42
-6
lines changed

configs/s3dis/pretrain-ponder-spunet-v1m1-0-base.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,13 @@
185185
render_semantic=True,
186186
num_cameras=num_cameras,
187187
transform=[
188-
dict(type="CenterShift", apply_z=True),
188+
dict(
189+
type="CenterShift",
190+
apply_z=True,
191+
keys=[
192+
"extrinsic",
193+
],
194+
),
189195
dict(
190196
type="RandomDropout",
191197
dropout_ratio=0.8,

configs/scannet/pretrain-ponder-ppt-v1m1-0-sc-s3-st-spunet.py

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,13 @@
267267
render_semantic=True,
268268
num_cameras=num_cameras,
269269
transform=[
270-
dict(type="CenterShift", apply_z=True),
270+
dict(
271+
type="CenterShift",
272+
apply_z=True,
273+
keys=[
274+
"extrinsic",
275+
],
276+
),
271277
dict(
272278
type="RandomDropout",
273279
dropout_ratio=0.8,
@@ -366,7 +372,13 @@
366372
render_semantic=True,
367373
num_cameras=num_cameras,
368374
transform=[
369-
dict(type="CenterShift", apply_z=True),
375+
dict(
376+
type="CenterShift",
377+
apply_z=True,
378+
keys=[
379+
"extrinsic",
380+
],
381+
),
370382
dict(
371383
type="RandomDropout",
372384
dropout_ratio=0.8,
@@ -464,7 +476,13 @@
464476
render_semantic=True,
465477
num_cameras=num_cameras,
466478
transform=[
467-
dict(type="CenterShift", apply_z=True),
479+
dict(
480+
type="CenterShift",
481+
apply_z=True,
482+
keys=[
483+
"extrinsic",
484+
],
485+
),
468486
dict(
469487
type="RandomDropout",
470488
dropout_ratio=0.8,

configs/scannet/pretrain-ponder-spunet-v1m1-0-base.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,13 @@
201201
render_semantic=True,
202202
num_cameras=num_cameras,
203203
transform=[
204-
dict(type="CenterShift", apply_z=True),
204+
dict(
205+
type="CenterShift",
206+
apply_z=True,
207+
keys=[
208+
"extrinsic",
209+
],
210+
),
205211
dict(
206212
type="RandomDropout",
207213
dropout_ratio=0.8,

configs/structured3d/pretrain-ponder-spunet-v1m1-0-base.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,13 @@
209209
render_semantic=True,
210210
num_cameras=num_cameras,
211211
transform=[
212-
dict(type="CenterShift", apply_z=True),
212+
dict(
213+
type="CenterShift",
214+
apply_z=True,
215+
keys=[
216+
"extrinsic",
217+
],
218+
),
213219
dict(
214220
type="RandomDropout",
215221
dropout_ratio=0.8,

0 commit comments

Comments
 (0)