Skip to content

Bug and error in Octave conv #26

@ok-sweat

Description

@ok-sweat

When I used the model in libs/nn/OCtaveResnet.py, I found tow things.

One is the stride of last Bottleneck is 2, which cause bug when using this model, because the input size of last Bottleneck is 1414 and 77, and after conv block of stride=2, there will be two tensor, 66 and 77 which can not be added together, bug comes. Setting the stride of last Bottleneck equals to 1 will solve this bug, with a little change of resnet.

Another one is about stride of Octaveconv2.py. I found that when stride=2, you still used conv layer with stride=1, and implement pooing(stride=2) before ocnv layer instead, which is totally different from conv layer with stride=2. I think the latter one is what author do in original paper.

Still, thanks for sharing your work!

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