Non-local_pytorch
Non-local_pytorch copied to clipboard
Implementation of Non-local Block.
Hello, I noticed you did not set bias=False in the 1x1 3d convolution layers which implements phi=W_phi*x+B_phi g=W_g*x+B_g theta=W_theta*x+B_theta I have read some materials and papers. None of them have...
Hi, I am wondering why the kernel size in non-local block for 3D is (1,2,2) rather than (2,2,2)? Thanks
Hi, I am wondering whether have you considered to implement the general form of the non-local operator, where we compute the attention of a given kernel size for each pixel....
初始化参数问题
您好,我按照您的方法训练,w初始设置0 ,在训练完成w还是0,这样的话non-local就不起作用了啊,望解答,谢谢。
I think you want to initialize self.W as zero, so that the residual path won't affect the pre-trained model, but I can not figure out why you initialize self.W[1] rather...
Hi, @AlexHex7 . I was confused how to implement visualization of the Nonlocal Map. As for the Nonlocal Map of `Net.nl_2` layer, which size is `(49, 9)`, and the code...
In case of using nonlocal block like self-attention, what is the pattern of map? Mang results of my experiments are vertical or heterogeneous, where nonlocal blocks dont work as expected.
您好,我想请问一下,这种方法加在目标检测模型中,针对小物体的检测精度是否会提升 以及,一般加在哪里呢,怎么加? 谢谢~~~ !
您好,想请问一下您是否有在某个数据集上测试过您的代码呢?最后的结果是否work呢?
I try to add the non-local block in the segmentation task as follows, but it seems that there is no improvement, can you give me some advice?Thank you! (layer1): Sequential(...