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

Problem using GPU #38

Open
koopa31 opened this issue Feb 7, 2023 · 2 comments
Open

Problem using GPU #38

koopa31 opened this issue Feb 7, 2023 · 2 comments

Comments

@koopa31
Copy link

koopa31 commented Feb 7, 2023

Hi,
I've been trying to use Omnipose with GPU for two days. Actually, Cellpose works like charm, but when I try to use Omnipose I always get this error: RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED.
When I do torch.cuda.isavailable() I get "True", so I don't understand. I tried to remove and re install torch with cuda, several times with different versions, but I always get the same error. Could you help me please?
Thank you.

@koopa31
Copy link
Author

koopa31 commented Feb 7, 2023

Actually, I succeeded in making it work on Windows, but I keep getting the same problem on Ubuntu 22.04. Could that be related to my Linux version?

@kevinjohncutler
Copy link
Owner

@koopa31 Yes, it must be something to do with your system, drivers, and torch version. What is your GPU and cuda/driver info? The only thing I can think of that might allow Cellpose to work but not Omnipose is that I could have made the install dependencies for Omnipose too new to work on your system. Some older graphics cards will not work with newer versions of pytorch (torch needs more recent drivers). A quick check is to compare the conda list output in your cellpose and omnipose environments.

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

2 participants