eleozzr / desc

Deep Embedding for Single-cell Clustering
https://eleozzr.github.io/desc/
87 stars 23 forks source link

Attribute error on desc.py #23

Open gushenweiz opened 4 years ago

gushenweiz commented 4 years ago

Hi, I am unable to figure out the following error. could you help? Thanks. When I run the quick desc test, in a Python interpeter session, type

import desc desc.run_desc_test() AttributeError: 'tuple' object has no attribute 'tocsr'. My env: 'matplotlib==3.0.3' 'pydot==1.4.1', 'tensorflow==1.7', 'keras==2.1', 'scanpy==1.4.4', 'louvain==0.7.0', 'python-igraph==0.8.0',
'h5py==2.10.0', 'pandas==1.0.3',

huggs121 commented 4 years ago

This might be due to the version of umap. Please install lower version of umap-learn (maybe 0.3.X) and try again.