wenbowen123 / BundleTrack

[IROS 2021] BundleTrack: 6D Pose Tracking for Novel Objects without Instance or Category-Level 3D Models
Other
612 stars 66 forks source link

Docker container cannot be initialized on Ubuntu 20.04 and CUDA 10.1 #53

Closed bibekyess closed 2 years ago

bibekyess commented 2 years ago

Hello, Thanks for the awesome work. I am trying to use your repo but I am facing strange issue on running bash docker/run_container.sh, it gives the following error. Does anybody know how to solve this issue?

BUNDLETRACK_DIR /home/riro/bibek_repo/bundletrack/BundleTrack
NOCS_DIR /home/riro/bibek_repo/bundletrack/BundleTrack/NOCS
YCBINEOAT_DIR /home/riro/bibek_repo/bundletrack/BundleTrack/YCBINEOAT
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.
ERRO[0000] error waiting for container: context cance

Thanks for your help!!

bibekyess commented 2 years ago

Solved!! I should have used sudo to run it. It's strange that it didn't give permission related error, making it difficult to debug. But yeah, if someone faces similar issue, just use sudo to run the docker command.