Comments (4)
Hi,
Could you specify the exact commands used to get this error?
This is not an error we encountered before.
In the meantime, you could try to ask the Nvidia developers at https://forums.developer.nvidia.com/c/accelerated-computing/gpu-accelerated-libraries/12 if they have any idea on the possible root cause.
from zed-docker.
Hello, i use this docker file to build an image!!
FROM nvidia/cuda:11.1-devel-ubuntu18.04
RUN apt-get update -y && apt-get install --no-install-recommends lsb-release wget less udev sudo build-essential cmake -y && \
wget -qO ZED_SDK.run https://download.stereolabs.com/zedsdk/3.3/cu111/ubuntu18_full && \
chmod +x ZED_SDK.run ; ./ZED_SDK.run silent && \
rm ZED_SDK.run && \
rm -rf /var/lib/apt/lists/*
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs:/usr/lib/x86_64-linux-gnu
ENV CMAKE_LIBRARY_PATH=$CMAKE_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs:/usr/lib/aarch64-linux-gnu
WORKDIR /usr/local/zed/
After, i use this commands:
sudo docker run --gpus all -e NVIDIA_DRIVER_CAPABILITIES=all -ti zed_devel:latest bash
with zed_devel:latest
is the name of docker imgae.
Then, I will build the object detection sample with C++.It raises an error which I mentioned when the model optimizea!!
Thanks for your supports
from zed-docker.
OK, I have the same message and I found the issue. You shouldn't add the stubs folder to the ld library path. It's dummy libraries only meant for building.
Your Dockerfile should be like (notice the LD_LIBRARY_PATH
):
FROM nvidia/cuda:11.1-devel-ubuntu18.04
RUN apt-get update -y && apt-get install --no-install-recommends lsb-release wget less udev sudo build-essential cmake -y && \
wget -qO ZED_SDK.run https://download.stereolabs.com/zedsdk/3.3/cu111/ubuntu18_full && \
chmod +x ZED_SDK.run ; ./ZED_SDK.run silent && \
rm ZED_SDK.run && \
rm -rf /var/lib/apt/lists/*
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/lib/x86_64-linux-gnu
ENV CMAKE_LIBRARY_PATH=$CMAKE_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs:/usr/lib/aarch64-linux-gnu
WORKDIR /usr/local/zed/
To test this I used your original Dockerfile and removed the stubs folder (rm -rf /usr/local/cuda/lib64/stubs/
) in interactive mode to make sure, and the optimization worked.
from zed-docker.
Thank you so much!!
Your solution works well on my side !!
from zed-docker.
Related Issues (20)
- Could NOT find CUDA (missing: CUDA_CUDART_LIBRARY) (found version "10.2") HOT 2
- Python API: Cannot import pyzed.sl in runtime and devel containers HOT 1
- Missing libusb-1.0.so HOT 2
- Docker SVO recording fails using hardware encoding (H264/H265) HOT 3
- Docker image built with CUDA 10.4, SDK is looking for 10.5 HOT 1
- Zed2i in docker without superuser HOT 10
- Zed Explorer stuck "Waiting for Camera" on Ubuntu 20.04 when running zed-docker HOT 8
- ros-devel dockers not available on dockerhub
- compiling errors in stereolabs/zed:3.7-tools-devel-l4t-r32.5 image. No libcudart HOT 3
- Feature Request | Add support for JetPack 5.0.2 HOT 2
- xhost: unable to open display "" HOT 4
- bash: /usr/local/zed/tools/ZED_Explorer: No such file or directory HOT 1
- ZED_Depth_Viewer crashes on Jetson AGX Orin HOT 2
- cross build Docker image for jetson produce errors HOT 1
- Provide a 4.0-gl-devel-cuda12.1-ubuntu22.04 HOT 2
- docker camera system fails on offline system (calibration) HOT 1
- libcublas.so is missing on runtime docker image
- Pyzed went missing from 3.8-gl-devel-cuda11.4-ubuntu20.04 to 4.0-gl-devel-cuda11.4-ubuntu20.04
- v4.0.8 docker sdk support
- Cannot import zed python sdk using non-root user
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zed-docker.