Hello! It is used Conv2d layer for learning offset 2D deformable convolution. In readme example you use such way to declare params:
offsets = nn.Parameter(torch.ones(batch_size, 1, output_length, kernel_size, requires_grad=True))
But how we can learn offsets for current input sequence x? Can you give some example?
Hello! It is used Conv2d layer for learning offset 2D deformable convolution. In readme example you use such way to declare params:
offsets = nn.Parameter(torch.ones(batch_size, 1, output_length, kernel_size, requires_grad=True))
But how we can learn offsets for current input sequence x? Can you give some example?