Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'SISUA' from 'sisua.models' #3

Open
bluesea0 opened this issue Apr 3, 2020 · 2 comments
Open

cannot import name 'SISUA' from 'sisua.models' #3

bluesea0 opened this issue Apr 3, 2020 · 2 comments

Comments

@bluesea0
Copy link

bluesea0 commented Apr 3, 2020

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

@trungnt13
Copy link
Owner

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

@dreamlovesft
Copy link

dreamlovesft commented Jul 2, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants