Megvii-BaseDetection / BEVDepth

Official code for BEVDepth.
MIT License
732 stars 102 forks source link

Kronecker product in the Eq.1 #78

Open hagianga21 opened 2 years ago

hagianga21 commented 2 years ago

Hi, thanks for the work. In Eq.1 in the main paper, there is a Kronecker product between F2d_i and Dpred_i. The shape of F2d_i is (C_F, H, W) and the shape of Dpred_i is (C_D, H, W). However, based on the definition of the Kronecker product (e.g., https://pytorch.org/docs/stable/generated/torch.kron.html), the shape of output F3d_i might be (C_F C_D, H H, W * W) instead of (C_F, C_D, H, W). Am I missing something? Note that I understand the motivation and the logic of Eq.1 but I'm just confused about whether it is called Kronecker product. Thanks so much.