NVlabs / SegFormer

Official PyTorch implementation of SegFormer
https://arxiv.org/abs/2105.15203
Other
2.36k stars 332 forks source link

Ade20k dataset val/test problem #105

Open gavin-gqzhang opened 1 year ago

gavin-gqzhang commented 1 year ago

When I used segformer to directly use the Ade20k dataset for training and testing, it was shown that there was a difference in size. I tried to test_ Add resize to pipeline, but it can't be solved

gavin-gqzhang commented 1 year ago

Error reporting content: RuntineError: stack expects each tensor to be equal size, but got [3,512,512] at entry 8 and [3,704,512]at entry 1