princeton-vl / RAFT-Stereo

MIT License
697 stars 136 forks source link

Flying points caused by resize bilinear #43

Open zhujiagang opened 2 years ago

zhujiagang commented 2 years ago

When model is trained by scale jittering, the flying points caused by bilinearly resize dense gt, for example, sceneflow, will do harm to the boundary performance. Would it be proper to resize sparse gt or resize nearest?

lahavlipson commented 2 years ago

We use linear interpolation since it doesn't negatively affect downstream performance, but it's worth trying nearest neighbor interpolation if you want the model to not produce flying pixels on object boundaries.