hi @nielsr nielsr, not sure if the docs for SegformerConfig default image_size=512 is wrong… I suppose it should be 224 according to the source code?
master link: SegFormer — transformers 4.13.0.dev0 documentation
v4.12.5 link: SegFormer — transformers 4.12.5 documentation

截屏2021-11-24 上午11.51.491156×391 73.8 KB