Closed williamsriver closed 5 months ago
@williamsriver I believe you were using the latest natten version, where "na2d_qk_with_bias" has been replaced with "na2d_qk". Simply replacing "na2d_qk_with_bias" with "na2d_qk" should resolve this problem (but I haven't tested it on this version). Let me know if you encounter further issues.
Yes! I did use your method to solve the problem.
attn = na2d_qk(q, k, self.kernel_size, self.dilation, rpb=self.rpb)
Yes! I did use your method to solve the problem.
attn = na2d_qk(q, k, self.kernel_size, self.dilation, rpb=self.rpb)
Hello, may I ask if you have reproduced the result of 85.7? I am looking forward to your reply
Hello, I encountered an issue while using your project.
In the
nat_2d.py
file, the following code is used to import functions from the NAT module:from natten.functional import na2d_av, na2d_qk_with_bias
I am using
natten
version 0.17.0, but thenatten.functional
module does not contain thena2d_qk_with_bias
function. I attempted to use the following import in theagileFormer_sys_2d.py
file:from natten.na2d import NeighborhoodAttention2D
I would like to confirm if this approach would affect the functionality of the program, or if there is a better solution.My Conda Virtual Environment: