Skip to content

SwinTransformer doesn't have avgpool #5

@wit543

Description

@wit543

When I try to reproduce the result using SwinTransformer, I got this error

AttributeError: 'SwinTransformer' object has no attribute 'avgpool'

the problem is from Swintransformer doesn't have avgpool layer

code that call avgpool

Is there a different pre-trained model used in this project or can I remove avgpool layer?

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