DiverseBranchBlock
DiverseBranchBlock copied to clipboard
Maybe need to reverse `H_pixels_to_pad` & `W_pixels_to_pad`?
Hi,
I just wonder whether here should be F.pad(kernel, [W_pixels_to_pad, W_pixels_to_pad, H_pixels_to_pad, H_pixels_to_pad])
, since the F.pad's padding mode should be set as [padding_left, padding_right, padding_top, padding_bottom
https://github.com/DingXiaoH/DiverseBranchBlock/blob/cd627d5089eaa25dedaa258b189fde508586a2f7/dbb_transforms.py#L44
Best