zhanghang1989 / PyTorch-Encoding

A CV toolkit for my papers.
https://hangzhang.org/PyTorch-Encoding/
MIT License
2.04k stars 452 forks source link

There's zero edge noise on output #327

Closed ghost closed 4 years ago

ghost commented 4 years ago

Please take a look at my qeustion on stack overflow. More images are here: image image

ghost commented 4 years ago

I guess this is because of the padding here. I guess!

zhanghang1989 commented 4 years ago

I don't fully understand the issues on stack overflow, but the padding for input image is indeed a hacky solution.

ghost commented 4 years ago

Is it okay to send an email to discuss this issue? It's on the custom dataset so I wouldn't like to share my data here.

ghost commented 4 years ago

Never mind. I fixed this problem by removing padding on the inference scenario.