Closed pplantinga closed 7 years ago
I think this error results from using pytorch 0.2, seems to work fine with 0.1.12
The issue is that reduction functions automatically remove dimensions in 0.2, but not 0.1.12, so adding keepdim=True should fix this issue. I'll submit a PR later.
Attempting to run this code without any modifications sometimes results in this error: