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

A rather common but vital problem about confidence map #38

Open
KirkZhengYW opened this issue Feb 28, 2022 · 3 comments
Open

A rather common but vital problem about confidence map #38

KirkZhengYW opened this issue Feb 28, 2022 · 3 comments

Comments

@KirkZhengYW
Copy link

Thank you for your good work!
I notice that in both CD-branch and DD-branch, confidence maps(concatenated with CD-depth and DD-depth respectively) are generated by the last convolutional layer, which are comprized of ordinary conv+bn+relu layer.

self.rgb_decoder_output = deconvbnrelu(in_channels=32, out_channels=2, kernel_size=3, stride=1, padding=1, output_padding=0)

rgb_output = self.rgb_decoder_output(rgb_feature0_plus)
rgb_depth = rgb_output[:, 0:1, :, :]
rgb_conf = rgb_output[:, 1:2, :, :]
self.decoder_layer6 = convbnrelu(in_channels=32, out_channels=2, kernel_size=3, stride=1, padding=1)

depth_output = self.decoder_layer6(decoder_feature5)
d_depth, d_conf = torch.chunk(depth_output, 2, dim=1)
rgb_conf, d_conf = torch.chunk(self.softmax(torch.cat((rgb_conf, d_conf), dim=1)), 2, dim=1)

I wonder how convbnrelu layer can output a neat confidence map and a depth map without confidence supervision. Would you please provide me with some relavant works or papers to see? Thanks.

@JUGGHM
Copy link
Owner

JUGGHM commented Feb 28, 2022

Thanks for your interest! In this work, the confidence maps are neat because we impose intermediate supervision on their corresponding depth maps respectively, leading to implicit constraints for confidence.

@KirkZhengYW
Copy link
Author

Thanks for your interest! In this work, the confidence maps are neat because we impose intermediate supervision on their corresponding depth maps respectively, leading to implicit constraints for confidence.

Thank you for your reply! Does intermediate supervision requires a ground truth confidence in corresponding scale?

@JUGGHM
Copy link
Owner

JUGGHM commented Feb 28, 2022

Thanks for your interest! In this work, the confidence maps are neat because we impose intermediate supervision on their corresponding depth maps respectively, leading to implicit constraints for confidence.

Thank you for your reply! Does intermediate supervision requires a ground truth confidence in corresponding scale?

No, only ground truth depth maps are required. Meanwhile the sum of exponential confidence is regularized to one by the softmax function.

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