Skip to content

Add "forward chamfer distance" in pytorch3d.loss.chamfer #502

Open
@JiahaoPlus

Description

@JiahaoPlus

🚀 Feature

Forward chamfer distance (chamfer distance only from source to target)

Motivation

Currently, in pytorch3d.loss.chamfer, the chamfer_distance function can returns "cham_dist = cham_x + cham_y". However, in many cases, we only need "forward chamfer distance", i.e., "cham_x" in the code.

Pitch

It would be great to have a parameter (i.e., direction = "forward" or "bidirectional") to choose which to return (cham_x or cham_x + cham_y).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions