microsoft / Relation-Aware-Global-Attention-Networks

We design an effective Relation-Aware Global Attention (RGA) module for CNNs to globally infer the attention.
MIT License
341 stars 65 forks source link

How to compatible the different size of images? #12

Open XiXiRuPan opened 3 years ago

XiXiRuPan commented 3 years ago

Thanks for your sharing. I have a questions about this work. If this work can compatible different size of image(width and height)? Thanks for your reply.

songjunyu commented 3 years ago

Perform resize or custom resize functions in dataloder API

XiXiRuPan commented 3 years ago

If my two batchsize have different feature map size, this model seemed not compatible.

songjunyu commented 3 years ago

why there are two batch of different feature map, befor slip batch from dataset, all data were resize to the same size.