Skip to content

Bad output point cloud when passing depth as input. #98

@chrisoffner3d

Description

@chrisoffner3d

I have what I assume to be a related issue to #33 where the resulting point cloud gets very weird if I give MapAnything all geometric inputs, including depth maps.

Specifically, I perform inference as shown below, gradually "switching on" different geometric inputs. Results look fine and fairly similar for the variants no_geometric_inputs, intrinsics, and intrinsics + pose, but for intrinsics + pose + depth the point cloud looks really weird (see below). Any idea what might be the problem here?

Ground truth

apartment_gt_new.webm

MapAnything without any geometric inputs

preds = model.infer(
  processed,
  memory_efficient_inference=False,
  use_amp=True,
  # Ignore inputs that should not be used by the model.
  ignore_calibration_inputs=True,
  ignore_depth_inputs=True,
  ignore_pose_inputs=True,
  ignore_depth_scale_inputs=True,
  ignore_pose_scale_inputs=True,
)
mapanything_no_geometric_inputs.webm

MapAnything with intrinsics, pose, and depth inputs

preds = model.infer(
  processed,
  memory_efficient_inference=False,
  use_amp=True,
  # Ignore inputs that should not be used by the model.
  ignore_calibration_inputs=False,
  ignore_depth_inputs=False,
  ignore_pose_inputs=False,
  ignore_depth_scale_inputs=False,
  ignore_pose_scale_inputs=False,
)
mapanything_all_geo.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions