# Segformer train doesn't recognize downsized images

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsegformer-train-doesnt-recognize-downsized-images%2F33597%3E%5C
**Category:** Beginners\
**Created:** [March 11, 2023, 7:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsegformer-train-doesnt-recognize-downsized-images%2F33597 "2023-03-11T19:53:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johnogl](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Johnogl](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohnogl)%5C
**Post date:** [March 11, 2023, 7:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsegformer-train-doesnt-recognize-downsized-images%2F33597%2F1 "2023-03-11T19:53:30Z")

</div>

In the past I have used segformer cityscapes 1024 pretrained model but now I am using adek512 b0 model for Semantic segmentation with 1024x1024 images it worked but if I use 416x416 images the train model trows several errors with the rescale or cuda or bool data when I tried to resize to 256 or 512. What would be the right parameters for feature\_extractor? Do I need to use another fine running?
