mapillary / mapillary/OpenSfM

cudaMemcpyAsync error

Open
#947 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.8k
Forks
899
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with bin/opensfm_run_all data/berlin after following the build instructions. Start with opensfm/io.py and the import chain through opensfm/pymap.cpython-36m-x86_64-linux-gnu.so, then investigate the reported undefined cudaMemcpyAsync symbol. Done means the command starts without this import error and the relevant environment or build requirement is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.