Skip to content

Issues with custom data #35

@felipesce

Description

@felipesce

Hello.

I'm having issues building a convex hull and then adapting the scripts to my own point clouds.
I seem to have been able to build the hull.obj file, but I'm not sure if it has problems.

When running the script, there's an error in models/losses.py:
this line

cham_norm_x = F.cosine_similarity(x_normals, x_normals_near, dim=2, eps=1e-6)

The error is:

RuntimeError: The size of tensor a (3) must match the size of tensor b (0) at non-singleton dimension 2

x_normals.shape = torch.Size([1, 15000, 3])
x_normals_near.shape = torch.Size([1, 15000, 0])

I have no idea where I went wrong, any help would be deeply appreciated.

Thanks!

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