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

DCNV2 MODULATOR WEIGHT #18

Closed
zhenyuzhouiu opened this issue Apr 13, 2022 · 1 comment
Closed

DCNV2 MODULATOR WEIGHT #18

zhenyuzhouiu opened this issue Apr 13, 2022 · 1 comment

Comments

@zhenyuzhouiu
Copy link

modulator = 2. * torch.sigmoid(self.modulator_conv(x))

I have a question about the modulator weight. Why do you use 2 to multiply the result of the sigmoid() instead of 1? Shouldn't this modulator range from 0 to 1?

Screenshot from 2022-04-13 11-46-47

@developer0hye
Copy link
Owner

developer0hye commented Apr 13, 2022

@zhenyuzhouiu
Good question

I followed the original implementation, but I don't know why it is designed that way.

I also uploaded this issue to the official implementation project, but I couldn't get the answer.

msracver/Deformable-ConvNets#280

I got improved results by multiplying 2 by a modulator.

developer0hye added a commit that referenced this issue Apr 14, 2022
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