Skip to content

InterpolateMode add support for 'nearest-exact' mode #4343

Description

@fluentgcc

Is your feature request related to a problem? Please describe.
There's a bug of 'nearest' mode of torch.nn.functional.interpolate in pytorch. This may lead mismatch between 'nearest' and other mode.
Plese see:
https://github.com/pytorch/pytorch/pull/64501

Describe the solution you'd like
add 'nearest-exact' mode for monai.utils.enums.InterpolateMode.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions