Closed akul-goyal closed 1 year ago
I am getting a “AttributeError: ‘GradReverseBackward’ object has no attribute ‘lambd’” on the backward propagation. I modified line 65 in models.py to GradReverse(lambd).apply(x).
这是来自QQ邮箱的自动回复邮件。 已收到您的邮件。
https://pytorch.org/tutorials/beginner/examples_autograd/two_layer_net_custom_function.html
I am getting a “AttributeError: ‘GradReverseBackward’ object has no attribute ‘lambd’” on the backward propagation. I modified line 65 in models.py to GradReverse(lambd).apply(x).