Skip to content

Commit

Permalink
Fix a bug:CenterShift needs to apply on extrinsic too
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoyiZhu committed Apr 9, 2024
1 parent 83d5ad4 commit 82ad88a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 6 deletions.
8 changes: 7 additions & 1 deletion configs/s3dis/pretrain-ponder-spunet-v1m1-0-base.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,13 @@
render_semantic=True,
num_cameras=num_cameras,
transform=[
dict(type="CenterShift", apply_z=True),
dict(
type="CenterShift",
apply_z=True,
keys=[
"extrinsic",
],
),
dict(
type="RandomDropout",
dropout_ratio=0.8,
Expand Down
24 changes: 21 additions & 3 deletions configs/scannet/pretrain-ponder-ppt-v1m1-0-sc-s3-st-spunet.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,13 @@
render_semantic=True,
num_cameras=num_cameras,
transform=[
dict(type="CenterShift", apply_z=True),
dict(
type="CenterShift",
apply_z=True,
keys=[
"extrinsic",
],
),
dict(
type="RandomDropout",
dropout_ratio=0.8,
Expand Down Expand Up @@ -366,7 +372,13 @@
render_semantic=True,
num_cameras=num_cameras,
transform=[
dict(type="CenterShift", apply_z=True),
dict(
type="CenterShift",
apply_z=True,
keys=[
"extrinsic",
],
),
dict(
type="RandomDropout",
dropout_ratio=0.8,
Expand Down Expand Up @@ -464,7 +476,13 @@
render_semantic=True,
num_cameras=num_cameras,
transform=[
dict(type="CenterShift", apply_z=True),
dict(
type="CenterShift",
apply_z=True,
keys=[
"extrinsic",
],
),
dict(
type="RandomDropout",
dropout_ratio=0.8,
Expand Down
8 changes: 7 additions & 1 deletion configs/scannet/pretrain-ponder-spunet-v1m1-0-base.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,13 @@
render_semantic=True,
num_cameras=num_cameras,
transform=[
dict(type="CenterShift", apply_z=True),
dict(
type="CenterShift",
apply_z=True,
keys=[
"extrinsic",
],
),
dict(
type="RandomDropout",
dropout_ratio=0.8,
Expand Down
8 changes: 7 additions & 1 deletion configs/structured3d/pretrain-ponder-spunet-v1m1-0-base.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,13 @@
render_semantic=True,
num_cameras=num_cameras,
transform=[
dict(type="CenterShift", apply_z=True),
dict(
type="CenterShift",
apply_z=True,
keys=[
"extrinsic",
],
),
dict(
type="RandomDropout",
dropout_ratio=0.8,
Expand Down

0 comments on commit 82ad88a

Please sign in to comment.