Skip to content

Clarification on Model Input: How to Handle x and xyz When Using Only xyz #5

@Monkey-D-Luffy-only

Description

@Monkey-D-Luffy-only

Hi,

Thank you for sharing this excellent repository! I am currently using your code for classification tasks, where the Model requires both x and xyz as inputs, as shown in the example:

model = Model(in_dim=6, out_dim=40).cuda()
xyz = torch.randn(2, 3, 1024).cuda()
rgb = torch.rand(2, 3, 1024).cuda()
x = torch.cat([xyz, rgb], dim=1)
out = model(x, xyz)
print(out.shape)  # (2, 40)

However, in my case, I only have the xyz coordinates of the point cloud (no RGB or other additional features). I would like to confirm:

  • How should x and xyz be set in this scenario?

  • If x is set to xyz directly, do I need to adjust in_dim when initializing the model?

  • Are there any potential limitations or things to be aware of when only using xyz as input?

Thank you for your time and help! Looking forward to your clarification.

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