-
Notifications
You must be signed in to change notification settings - Fork 4
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
numpy version causing runtime error #5
Comments
Hi Yk, This it seems like a numpy problem, it is probably worthy to reinstall the newer numpy. please see my conda list for your info: Name Version Build Channel_libgcc_mutex 0.1 main |
Thanks! May I also ask if the cuDNN is required for the reconstruction and Misalignments Correction in RELION? From Miniconda, using 'conda search' with default and Nvidia channels, the only cuDNN versions available and greater than 8 are 8.2 and 8.9. I am not sure which one I need, or if cuDNN is not required. Thank You |
Hi, There are cudnn in "anaconda" channel and also the "conda-forge" channel. Also you can do the manually install by downloading from official Nvidia website. I will try to standardize the installation in the near future because many complains are raised related to pytorch and cuda. |
Hi,
I am testing the software on Ubuntu 22.04.4 with an Intel CPU and Nvidia 4090. Using the yml file provided to create a conda env using miniconda, I have encountered a runtime error while generating the 3DSFC map by saying:
~/spIsoNet_tutorial$ spisonet.py fsc3d emd_8731_half_map_1.mrc emd_8731_half_map_2.mrc emd_8731_msk_1.mrc --ncpus 16 --limit_res 3.5 04-16 15:34:42, INFO Limit resolution to 3.5 for spIsoNet 3D FSC calculation. You can also tune this paramerter with --limit_res . 04-16 15:34:42, INFO calculating fast 3DFSC, this will take few minutes 100%|███████████████████████████████████████████| 95/95 [00:03<00:00, 31.27it/s] 99%|██████████████████████████████████████████▌| 94/95 [00:06<00:00, 5.77it/s]Traceback (most recent call last): File "/home/ykgong/miniconda3/envs/spisonet/lib/python3.10/multiprocessing/pool.py", line 138, in worker task = job = result = func = args = kwds = None RuntimeError: Object of type <class 'numpy.ndarray'> appears to be C subclassed NumPy array, void scalar, or allocated in a non-standard way.NumPy reserves the right to change the size of these structures. Projects are required to take this into account by either recompiling against a specific NumPy version or padding the struct and enforcing a maximum NumPy version. Exception ignored in: 'PyDataMem_UserFREE' Traceback (most recent call last): File "/home/ykgong/miniconda3/envs/spisonet/lib/python3.10/multiprocessing/pool.py", line 138, in worker task = job = result = func = args = kwds = None ValueError: PyCapsule_GetPointer called with invalid PyCapsule object Traceback (most recent call last): File "/home/ykgong/miniconda3/envs/spisonet/lib/python3.10/multiprocessing/pool.py", line 138, in worker task = job = result = func = args = kwds = None RuntimeError: Object of type <class 'numpy.ndarray'> appears to be C subclassed NumPy array, void scalar, or allocated in a non-standard way.NumPy reserves the right to change the size of these structures. Projects are required to take this into account by either recompiling against a specific NumPy version or padding the struct and enforcing a maximum NumPy version. Exception ignored in: 'PyDataMem_UserFREE' Traceback (most recent call last): File "/home/ykgong/miniconda3/envs/spisonet/lib/python3.10/multiprocessing/pool.py", line 138, in worker task = job = result = func = args = kwds = None ValueError: PyCapsule_GetPointer called with invalid PyCapsule object Traceback (most recent call last): File "/home/ykgong/miniconda3/envs/spisonet/lib/python3.10/multiprocessing/pool.py", line 138, in worker task = job = result = func = args = kwds = None RuntimeError: Object of type <class 'numpy.ndarray'> appears to be C subclassed NumPy array, void scalar, or allocated in a non-standard way.NumPy reserves the right to change the size of these structures. Projects are required to take this into account by either recompiling against a specific NumPy version or padding the struct and enforcing a maximum NumPy version. Exception ignored in: 'PyDataMem_UserFREE' Traceback (most recent call last): File "/home/ykgong/miniconda3/envs/spisonet/lib/python3.10/multiprocessing/pool.py", line 138, in worker task = job = result = func = args = kwds = None ValueError: PyCapsule_GetPointer called with invalid PyCapsule object 100%|███████████████████████████████████████████| 95/95 [00:07<00:00, 12.31it/s]
I am not sure if the 3DFSC is generated correctly. I have attached the exact dependencies txt file from my conda env.
Do you have any suggestions?
req.txt
Thank you!
YK
The text was updated successfully, but these errors were encountered: