-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues.
- This issue is not a question, feature request, or anything other than a bug report directly related to this project.
Description
I pulled the docker image stereolabs/zed:4.1-runtime-cuda11.8-ubuntu22.04
and failed to ran my python script on my device.
The output was ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
. I couldn't import pyzed.sl
in my python interactive console either.
P.S.: The pyzed and my script works well after manually downgrade numpy by pip install numpy<=2
.
Steps to Reproduce
sudo docker pull stereolabs/zed:4.1-runtime-cuda11.8-ubuntu22.04
sudo docker run --gpus all -it --privileged -v /path/to/depth_capture:/depth --network=host stereolabs/zed:4.1-runtime-cuda11.8-ubuntu22.04
python3
from pyzed import sl
...
Expected Result
root@92293044a15a:/depth/zed# python3
Python 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyzed import sl
>>>
Actual Result
root@92293044a15a:/depth/zed# python3
Python 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyzed import sl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyzed/sl.pyx", line 1, in init pyzed.sl
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
ZED Camera model
ZED2i
Environment
OS: Ubuntu 22.04.4 LTS x86_64
CPU: 13th Gen Intel i7-13700K (24) @ 5.300GHz
GPU: NVIDIA GeForce RTX 3090
ZED SDK version: 4.1
Docker Image: stereolabs/zed:4.1-runtime-cuda11.8-ubuntu22.04
### Anything else?
_No response_
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working