I just reinstalled from scratch , but it cannot find nonzero() function. I am getting the following message:
File “/home/yusuf/anaconda2/envs/pytorch-bin-env/lib/python2.7/site-packages/torch/autograd/variable.py”, line 86, in _getattr_
raise AttributeError(name)
AttributeError: nonzero
I also have a version that I built from source, and I get the same error from it, too.
How can I get the right version? Thanks.