4uiiurz1 / pytorch-deform-conv-v2

PyTorch implementation of Deformable ConvNets v2 (Modulated Deformable Convolution)
MIT License
743 stars 141 forks source link

Meaning of q_lt, q_rb, q_lb, q_rt? #15

Closed zjplab closed 4 years ago

zjplab commented 4 years ago

I know roughly these variables represent some kind of boundary coordinates. But what on earth do they represent? What does "lt" "rb" mean exactly?

zjplab commented 4 years ago

lt: upper left rb: bottom right

jszgz commented 4 years ago

lt: upper left rb: bottom right

Hello, do you now what does

        q_lb = torch.cat([q_lt[..., :N], q_rb[..., N:]], dim=-1)
        q_rt = torch.cat([q_rb[..., :N], q_lt[..., N:]], dim=-1)

mean ? what did self._get_p do? Why q_rb = q_lt + 1?