Skip to content

Question about inference with new data #6

Description

@npmhung

Thank you for your great work.

I saw that in your preprocess step:

    mesh = o3d.io.read_triangle_mesh(fn)
    vertices = torch.from_numpy(np.array(mesh.vertices).astype(np.float32))
    faces = torch.from_numpy(np.array(mesh.triangles).astype(np.int64))
    superpoint = segmentator.segment_mesh(vertices, faces).numpy()
    normals = vertex_normal(vertices.numpy()[:, :3], faces.numpy())

The superpoints are extracted with segment_mesh. However, in the case when I only have point clouds as input, can I replace that with segmentator.segment_point instead? Does that affect the overall performance?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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