pytorch-deform-conv
pytorch-deform-conv copied to clipboard
Question about implementation
in file deform_conv.py inds = indices[:, 0]*input.size(1)*input.size(2)+ indices[:, 1]*input.size(2) + indices[:, 2] what does it mean ?
That's a way to match the indexes for th_flatten(input), for a better understanding, I would suggest to clone the code, and change it by adding print statement to check each variables, and understand it step by step. Good luck.