theislab / dca

Deep count autoencoder for denoising scRNA-seq data
Apache License 2.0
246 stars 72 forks source link

why KeyError: 'rmsprop'? #43

Closed ocean-debug closed 3 years ago

ocean-debug commented 3 years ago

dca: Successfully preprocessed Traceback (most recent call last): File "", line 1, in File "/home/anaconda3/envs/dca/lib/python3.6/site-packages/dca/api.py", line 194, in dca hist = train(adata[adata.obs.dca_split == 'train'], net, **training_kwds) File "/home/anaconda3/envs/dca/lib/python3.6/site-packages/dca/train.py", line 48, in train optimizer = opt.dictoptimizer KeyError: 'rmsprop'

alexcwsmith commented 3 years ago

This is almost certainly a version issue. See here for working versions:

https://github.com/theislab/dca/issues/42