Compiled Segformer - low qualityos segmentation

Hello,
I have a compiled hef B0 segformer. Originally its onnx model aim to segment images with 1 channel (grayscale). I manage to compile it to hef. I also manage to build the application around it. So i am able to submit images to the hef model , and to accept the segmentation results from it.
i have done this process with the latest data flow compiler 3.30.0 as well as with the previous version.
Unfortunately the results are poor and also there is some green artifact in the results that i don’t know from where it comes.
I am attaching here 4 files to demonstrate the gap and the low quality:

  1. the original image
  2. the segmentation as it accepted from the onnx model
  3. the segmentation as it accepted from the compiled hef model with compiler version 29.
  4. the segmentation as it accepted from the compiled hef model with compiler version 30.




Any ideas on what is the problem? I am quiet positive that something is wrong during the compilation to hef file. Is there anything I can do to affect it so the results will get improved?

Thanks
David