sisua
sisua copied to clipboard
cannot import name 'SISUA' from 'sisua.models'
I set up the sisua, and run the basics.py under the tutorils folder. I just run the "Create and train semi-supervised model" part. However, I got this
from sisua.models import (SCVI, SISUA, DeepCountAutoencoder, NetworkConfig,
ImportError: cannot import name 'SISUA' from 'sisua.models' (/home/username/miniconda3/envs/sisua/lib/python3.7/site-packages/sisua/models/__init__.py)
And then I search the python files in the above "....../python3.7/site-packages/sisua/models/" path. But I cannot find the SISUA class. So I don't know how to do with the problem. Could you explain this? Thanks
Hi @bluesea0,
Could I know how did you install sisua
, it is recommended to use the stable release on pip
now, i.e. you should run this command
pip install sisua
The master branch on github is still under development for new features, we will release the update version with new models soon.
Best regards, Trung NT
HI, i run
pip install sisua
but got this
ERROR: Could not find a version that satisfies the requirement torch==1.2.0 (from odin-ai==1.2.0->sisua) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.2.0 (from odin-ai==1.2.0->sisua)
Then I try
pip install torch==1.2.0
it also did not work.
how could i fix it? Thanks