OpenDroneMap / ODM

A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷
https://opendronemap.org
GNU Affero General Public License v3.0
4.91k stars 1.11k forks source link

Why cannot use GPU acceleration in dockerdesktop? #1666

Closed githubhanjunjun closed 1 year ago

githubhanjunjun commented 1 year ago

How did you install ODM? (Docker, installer, natively, ...)?

Computer System: Windows 10 pro 22H2 19045.2965 Install ODM: DockerDesktop v24.0.2 use the WSL 2 backend, so resource limits are managed by Windows. Installed opendronemap/map:gup Docker Image.

What is the problem?

Problem: Cannot use GPU acceleration! Use the first step to verify that the GPU is accessible. But there is no output information using the GPU when running the program in the second step Step1: run ‘docker run --rm --gpus all nvidia/cuda:10.0-base nvidia-smi’. The output information is as follows: image Step2: run ‘docker run -ti --rm -v D:/ODM_data/datasets:/datasets --gpus all opendronemap/odm:gpu --project-path /datasets project‘. The output information is as follows: image

pierotofy commented 1 year ago

Could we move this conversation over to the forum at https://community.opendronemap.org? :pray: The forum is the right place to ask questions (we try to keep the GitHub issue tracker for feature requests and bugs only). Thank you! :+1: