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?