TRAILab / CaDDN

Categorical Depth Distribution Network for Monocular 3D Object Detection (CVPR 2021 Oral)
Apache License 2.0
366 stars 62 forks source link

Errors found in running ./build.sh #18

Closed Owen-Liuyuxuan closed 3 years ago

Owen-Liuyuxuan commented 3 years ago

Thank you for sharing your code. During the last step of docker building, I met with the following problem:

caddn_build_error

My local machine is CUDA 11.2. current_cuda

I am not sure if it is related to my local cuda.

codyreading commented 3 years ago

Did you follow all the steps outlined here? https://github.com/TRAILab/CaDDN/blob/master/docker/DOCKER.md. It looks like the docker build isn't able to find your GPU in the Docker Environment, which is solved by the steps outlined here.

Alternatively, you can just do docker pull codyreading/caddn rather than building yourself. I recommend this approach.

Owen-Liuyuxuan commented 3 years ago

I am not sure. But I have been using docker with Cuda for a while. So I assume I can skip the steps before building.

codyreading commented 3 years ago

Nope, there is a step there that allows GPU access in the build phase which is needed for building pcdet. Can you try following the full instructions?

Owen-Liuyuxuan commented 3 years ago

Thank you very much for patiently solving this problem, and it guides me to learn more about docker :pray: .

For now I may close this issue. :smile: