SPANet icon indicating copy to clipboard operation
SPANet copied to clipboard

problem.

Open jjb202 opened this issue 2 years ago • 0 comments

我的环境: pytorch==0.4.1 python==3.6.13 错误代码: def forward(self,input): return irnn()(input,self.up_weight.weight, self.right_weight.weight,self.down_weight.weight, self.left_weight.weight, self.up_weight.bias,self.right_weight.bias, self.down_weight.bias,self.left_weight.bias) 是不是这个版本不支持这么调用 我改成 o= irnn.forward(self,input,self.up_weight.weight, self.right_weight.weight,self.down_weight.weight, self.left_weight.weight, self.up_weight.bias,self.right_weight.bias, self.down_weight.bias,self.left_weight.bias AttributeError: 'Spacial_IRNN' object has no attribute 'save_for_backward'

jjb202 avatar Sep 23 '22 08:09 jjb202