I tried to import SparseAdam, but it does not exist:
AttributeError: module ‘torch.optim’ has no attribute 'SparseAdam’
I use the latest pytorch in conda.
Other optmizers, e.g. adam. sgd, rmsprop, etc works.
What I did wrong?
What version of pytorch are you using?
import torch; torch.__version__.
You can install the latest (0.3.1) in conda via the instructions here: http://pytorch.org/
Thanks, Richard. I tried to update the packages from Conda but it said that the package was up to date. Reinstallation was successful.