LeapLabTHU / Agent-Attention

Official repository of Agent Attention (ECCV2024)
473 stars 35 forks source link

different image solution for training and testing #38

Closed hubhub086 closed 1 month ago

hubhub086 commented 1 month ago

Hi! I am using agent_swin model as backbone, but because the image resolution during testing is higher than that during training, there are some errors, so I want to know whether the model can support input with dynamic resolution, and how should I modify it. Looking forward to your reply.

tian-qing001 commented 1 month ago

Hi @hubhub086. You can interpolate agent bias to adapt to the test resolution, which will fix the problem. Please refer to here.

hubhub086 commented 1 month ago

Thanks a lot🎉