Skip to content

No picture left when stride_size == patch_size #15

@dan1elR

Description

@dan1elR

In the script make_output_unet no picture is left after cropping away the padding if stride_size == patch_size.
Additionally, as padding with this setting was only applied at the outside, the inner pictures get cropped though nothing was padded here.

output=output[:,:,stride_size//2:-stride_size//2,stride_size//2:-stride_size//2,:]

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