Skip to content

Move stride from projection layer to expansion layer for EdgeResidual block #414

@andravin

Description

@andravin

The EdgeResidual block places the stride parameter in the pointwise projection layer:
https://github.com/rwightman/pytorch-image-models/blob/3a7aa95f7e5fc90a6a2683c756e854e26201d82e/timm/models/efficientnet_blocks.py#L365-L366

.. but it would be more efficient to put it in the preceding expansion convolution layer.

The TensorFlow reference implementation recently fixed this: tensorflow/tpu#660

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