Giter Club home page Giter Club logo

Comments (4)

davek44 avatar davek44 commented on August 14, 2024 1

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.

cherriyoush avatar cherriyoush commented on August 14, 2024

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.

mari-ga avatar mari-ga commented on August 14, 2024

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.

mari-ga avatar mari-ga commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.