Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the difference between the proposed local ensemble and bilinear interpolation? #40

Open
YingqianWang opened this issue Aug 4, 2021 · 1 comment

Comments

@YingqianWang
Copy link

In Fig. 2, the authors propose a local ensemble approach to predict the RGB value of the target position based on its four nearest neighbors. However, the calculation process of the local ensemble is very similar to that of bilinear interpolation. Then I have a question: why not directly using bilinear interpolation in the F.grid_sample function? Looking forward to your early reply.

Regards

@shkarupa-alex
Copy link

shkarupa-alex commented Jul 20, 2022

I think if we will use bilinear interpolation we will fall in the issue that it smooth features (due to always linear combination based on distance). This is one of the main drawbacks when using interpolation in semantic segmentation.

When using local ensemble features are just stacked and following imnet (mlp) can combine them with non-linear weights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants