Comments (4)
Hi all, I'm not familiar with pytorch lightning. We developed Solo for vanilla pytorch. I'll put this on my queue to look into, but I can't promise a quick fix. You might look into whether the scVI developers have their codebase working for pytorch lightning. Otherwise, I'd recommend a clean anaconda install without pytorch lightning.
from solo.
hi,I have meet the same problem too,I try downgrade torchmetrics version pip uninstall torchmetrics==0.9.3 & pip install torchmetrics==0.6.0, then it works
from solo.
hi,I have meet the same problem too,I try downgrade torchmetrics version pip uninstall torchmetrics==0.9.3 & pip install torchmetrics==0.6.0, then it works
Sadly, it didn't work, I'm getting a different error related to other libraries:
Traceback (most recent call last): File "/opt/anaconda3/envs/demul/bin/solo", line 5, in <module> from solo.solo import main File "/opt/anaconda3/envs/demul/lib/python3.9/site-packages/solo/solo.py", line 15, in <module> from pytorch_lightning.callbacks.early_stopping import EarlyStopping File "/opt/anaconda3/envs/demul/lib/python3.9/site-packages/pytorch_lightning/__init__.py", line 34, in <module> from pytorch_lightning.callbacks import Callback # noqa: E402 File "/opt/anaconda3/envs/demul/lib/python3.9/site-packages/pytorch_lightning/callbacks/__init__.py", line 25, in <module> from pytorch_lightning.callbacks.progress import ProgressBarBase, RichProgressBar, TQDMProgressBar File "/opt/anaconda3/envs/demul/lib/python3.9/site-packages/pytorch_lightning/callbacks/progress/__init__.py", line 22, in <module> from pytorch_lightning.callbacks.progress.rich_progress import RichProgressBar # noqa: F401 File "/opt/anaconda3/envs/demul/lib/python3.9/site-packages/pytorch_lightning/callbacks/progress/rich_progress.py", line 26, in <module> _RICH_AVAILABLE: bool = _package_available("rich") and _compare_version("rich", operator.ge, "10.2.2") File "/opt/anaconda3/envs/demul/lib/python3.9/site-packages/torchmetrics/utilities/imports.py", line 54, in _compare_version pkg_version = pkg.__version__ # type: ignore AttributeError: module 'rich' has no attribute '__version__'
from solo.
Hi all, I'm not familiar with pytorch lightning. We developed Solo for vanilla pytorch. I'll put this on my queue to look into, but I can't promise a quick fix. You might look into whether the scVI developers have their codebase working for pytorch lightning. Otherwise, I'd recommend a clean anaconda install without pytorch lightning.
Thank you very much, the version from scVI is working in line.
from solo.
Related Issues (20)
- moving to scvi-tools
- Difference between is_doublet and preds HOT 2
- h5ad for HashSolo & solo .pdf plots output HOT 2
- Running error: "Resource temporarily unavailable" HOT 2
- Finding solo installed version HOT 2
- Error on new solo version HOT 8
- Solo on 10x genomics scRNA data HOT 3
- Allow user to change interval at which validation loss is checked
- python 3.6 incompatibility HOT 5
- Solo encountering Nan values with 10x data HOT 7
- Newbie questions: warning message, model parameters, and outputs HOT 5
- Problem with hashsolo HOT 10
- Solo in line? HOT 3
- Hashsolo failing when only two HTOs are present? HOT 5
- Error using h5ad file HOT 2
- Issues with hashsolo
- hashsolo requires dense array
- AttributeError: 'numpy.ndarray' object has no attribute 'loc' when running solo on the test dataset HOT 1
- Dependency conflict: lightning 2.1.4 and scvi-tools 1.1.2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solo.