Pytorch-XNOR-Net icon indicating copy to clipboard operation
Pytorch-XNOR-Net copied to clipboard

BinConv2D for group convolution

Open haithanhp opened this issue 6 years ago • 0 comments

Dear @cooooorn ,

Thanks for your helpful implementation. I have 2 following concerns about class BinConv2d:

  • This line: self.weight = nn.Parameter(torch.IntTensor(out_channels, 1 + ( in_channels * self.kernel_size[0] * self.kernel_size[1] - 1) // 32)). Why do we divide 32 in testing process? I notice that the number of weights in testing is reduces by 32. Could you clarify that?

  • I want to use the group convolution. How can I modify for BinConv2d? Thank you very much.

Thanks, Hai

haithanhp avatar Feb 08 '19 11:02 haithanhp