OpenSfM icon indicating copy to clipboard operation
OpenSfM copied to clipboard

cudaMemcpyAsync error

Open yashbhalgat opened this issue 3 years ago • 1 comments

I have followed the building instructions and it seems like OpenSFM installed on my system without errors. But when I run bin/opensfm_run_all data/berlin, I get the following error message:

Traceback (most recent call last):
  File "/home/yash/OpenSfM/bin/opensfm_main.py", line 6, in <module>
    from opensfm import commands
  File "/home/yash/OpenSfM/opensfm/commands/__init__.py", line 1, in <module>
    from . import (
  File "/home/yash/OpenSfM/opensfm/commands/align_submodels.py", line 1, in <module>
    from opensfm.actions import align_submodels
  File "/home/yash/OpenSfM/opensfm/actions/align_submodels.py", line 1, in <module>
    from opensfm.large import metadataset
  File "/home/yash/OpenSfM/opensfm/large/metadataset.py", line 7, in <module>
    from opensfm import io
  File "/home/yash/OpenSfM/opensfm/io.py", line 9, in <module>
    from opensfm import context, features, geo, pygeometry, pymap, types
ImportError: /home/yash/OpenSfM/opensfm/pymap.cpython-36m-x86_64-linux-gnu.so: undefined symbol: cudaMemcpyAsync

yashbhalgat avatar Aug 23 '22 15:08 yashbhalgat

I'm also getting this error now when trying to run opensfm on python, but I get it when trying to import the pybundle package. any solutions? File "sfm_tools/osfm_camera_summary.py", line 41, in osfm_camera_summary import opensfm.io File "project/OpenSfM/opensfm/__init__.py", line 1, in <module> from opensfm import pybundle ImportError: project/OpenSfM/opensfm/pybundle.cpython-39-x86_64-linux-gnu.so: undefined symbol: cudaMemcpyAsync

matanPercepto avatar Oct 18 '22 19:10 matanPercepto