Skip to content

❗️RuntimeError due to tensor shape mismatch between p0 and x0 in scene_model.forward #3

@MrOK24

Description

@MrOK24

Hi, thanks for your great work! I'm currently trying to train the MK-M2Diffuser-Pick experiment using the default configuration, but encountered a shape mismatch error during training.

The error happens in the forward function of the scene_model, specifically at the line where p0 and x0 are concatenated:
x0 = p0 if self.c == 3 else torch.cat((p0, x0), 1)
However, p0 and x0 have different shapes:
p0.shape = torch.Size([294912, 3]) x0.shape = torch.Size([262144, 3])
Could you please suggest:

  1. Where the mismatch may originate?
  2. Whether a fix should be made in the data pipeline or model?
  3. If there's a config switch that ensures synced pos and feat sizes?
    Thanks again for your work! Looking forward to your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions