Matrix-Capsules-pytorch icon indicating copy to clipboard operation
Matrix-Capsules-pytorch copied to clipboard

Isn't here a bug?

Open onbigion13 opened this issue 2 years ago • 1 comments

https://github.com/YuxianMeng/Matrix-Capsules-pytorch/blob/bc9e26dae9390bc96a5420a94cbe89432a1ad10a/Capsules.py#L86

pose's shape is (b, self.B, H, W), how can it be reshaped into ( b, 16, self.B, H, W) in the next line????? why does no one point this out? no error reported????

onbigion13 avatar Jun 18 '22 05:06 onbigion13

哦,明白了,pose对x的切片第二个维度是倒数self.B。那就说得通了。我的眼科问题。抱歉。

onbigion13 avatar Jun 18 '22 05:06 onbigion13