Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem. #20

Open
jjb202 opened this issue Sep 23, 2022 · 0 comments
Open

problem. #20

jjb202 opened this issue Sep 23, 2022 · 0 comments

Comments

@jjb202
Copy link

jjb202 commented Sep 23, 2022

我的环境:
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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant