-
Notifications
You must be signed in to change notification settings - Fork 11
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
ValueError in tabula_sapiens_tutorial.ipynb #61
Comments
Hi, can you paste the full error message? Thanks. Can you also give it a try on Colab? It should be fine there. |
Thanks for your quick reply. I am running it on the colab (https://colab.research.google.com/github/YosefLab/PopV/blob/main/docs/notebooks/tabula_sapiens_tutorial.ipynb) and I didn't change any of the code: Here is the full error message:
|
Hi. The tutorial runs on my end without any issues. This is a call within Celltypist. The Celltypist function call actually is correct. I assume it's one instance on Colab that has issues with running it. Can you check the n_jobs argument in scanpy and otherwise check with scanpy what's going wrong here (create an issue there): https://scanpy.readthedocs.io/en/stable/generated/scanpy._settings.ScanpyConfig.n_jobs.html#scanpy._settings.ScanpyConfig.n_jobs. You can also change prediction_mode to fast, which will disable overclustering and therefore by-pass the issue. |
Which hardware accelerator are you using? I am using T4 GPU (without Colab Pro). Perhaps that is the issue? I tried |
Report
Hi,
I was trying out this notebook: https://github.com/YosefLab/popV/blob/main/docs/notebooks/tabula_sapiens_tutorial.ipynb, but I got stuck at this code block:
With this error:
ValueError: The number of threads must be between 1 and 2
I am using the example data:
tmp_testing/LCA.h5ad
Any suggestions on how to overcome this issue?
Thanks,
Juan
Version information
No response
The text was updated successfully, but these errors were encountered: