Closed jeongHwarr closed 3 years ago
Hi @jeongHwarr
If you are not using images with size 224x224, you should modify the first argument in CoAtNet. For example,
net = CoAtNet((512, 512), 3, num_blocks, channels, num_classes=1000)
@chinhsuanwu Oh.. my.. I forgot that! I really really thank you so much! Have a good day. Thank you for your contribution!
Hello.I really aprreciate for your project.
However, The following error occurs when a 512-size image is input at
Attention
class.https://github.com/chinhsuanwu/coatnet-pytorch/blob/d3ef1c3e4d6dfcc0b5f731e46774885686062452/coatnet.py#L155
Why this error is occured? How do I edit your code when I want to resize the image?
Thank you!