Skip to content

UNet uses zero-padding even when it shouldn't #647

@jscanvic

Description

@jscanvic

There's an option to make the UNet use circular convolutions and even though it's set here

padding_mode="circular" if circular_padding else "zeros",

padding_mode="circular" if circular_padding else "zeros",

it's not set there (meaning it defaults to zero-padding)

ch_out, ch_out, kernel_size=3, stride=1, padding=1, bias=bias

ch_out, ch_out, kernel_size=3, stride=1, padding=1, bias=bias

ch_in, ch_out, kernel_size=3, stride=1, padding=1, bias=bias

ch_in, ch_out, kernel_size=3, stride=1, padding=1, bias=bias

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions