CoordAttention icon indicating copy to clipboard operation
CoordAttention copied to clipboard

How to resolve diffent size of HxW in train and test

Open aisegmentcn opened this issue 3 years ago • 1 comments

Good work! I trained one model in 512x512 embeded CoordAttention block. But when I infer an image in 400x600, it is incompatible. How to resolve this problem?

aisegmentcn avatar Mar 16 '21 13:03 aisegmentcn

If you used adaptive_avg_pool, that would not be a problem.

houqb avatar Apr 28 '21 09:04 houqb