HKUST-Aerial-Robotics / D2SLAM

$D^2$SLAM: Decentralized and Distributed Collaborative Visual-inertial SLAM System for Aerial Swarm
297 stars 35 forks source link

run D2SLAM docker on Xavier AGX #19

Closed ericsuntj closed 1 year ago

ericsuntj commented 1 year ago

首先,非常感谢您可以分享这个工作内容 我在尝试着复现您的工作,按照教程中的方法,镜像是在Ubuntu18.04的电脑上以save方式打包为.tar文件的,之后在Xavier AGX上用load转化为了镜像,进一步在将镜像实例化为容器时,出现了以下错误: docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"process_linux.go:432: running prestart hook 0 caused \\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --compat32 --graphics --utility --video --display --pid=666 /media/nvidia/ssd/dockerimages/overlay2/dd869bbb4187ebab72ff2bba6055da31f08b8e1c0ea3e81661cb864c37bed94a/merged]\\nnvidia-container-cli: mount error: file creation failed: /media/nvidia/ssd/dockerimages/overlay2/dd869bbb4187ebab72ff2bba6055da31f08b8e1c0ea3e81661cb864c37bed94a/merged/usr/lib/aarch64-linux-gnu/libcudnn_adv_infer_static_v8.a: file exists\\n\\"\"": unknown. ERRO[0005] error waiting for container: context canceled 实例化的命令是 sudo docker run -it --gpus all d2slam:jetson

Peize-Liu commented 1 year ago

你好,构建docker image的时候,需要对齐AGX 的jetpack版本, 这个应该是你构建的版本没有对齐导致的

ericsuntj commented 1 year ago

好的非常感谢,我再进一步做下测试