Skip to content

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

@fluentgcc

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions