Skip to content

Normalization During Inference #30

@violag12

Description

@violag12

Thank you for your awesome work!

Shouldn't the point cloud extracted from the input mesh be normalized in the dataset.py code so that it matches the distribution of point clouds used during training? Should center_vertices and normalize_vertices_scale be called in dataset.py?

verts, faces = mesh.vertices,mesh.faces

# Translate the vertices so that bounding box is centered at zero.
vertices = center_vertices(vertices)
if augment:
vertices = augment_mesh(vertices, **augment_dict)
# Scale the vertices so that the long diagonal of the bounding box is equal
# to one.
vertices = normalize_vertices_scale(vertices)

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