Skip to content

SpatialResamplingEx bug #17

@nicholas-leonard

Description

@nicholas-leonard

Hi,

The subject Module has a bug. The use case is this. I feed it a 3x480x640 input image to mlp = nn.SpatialReSamplingEx{oheight=128,owidth=128}. So I want a square output. When I compare the output to the input, the output is missing an entire area as if the input was resized to 3x400x640 before being fed to the Module. All modes have the same issue.

When I use nn.SpatialReSampling, this doesn't happen. I tried to fix this myself, but can't seem to find the location of the bug.

--Nick

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