Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Perception Modules] how i can run perception module and modify algorithm in module? #12855

Open
duongnxptit opened this issue Oct 26, 2020 · 7 comments
Assignees
Labels
Module: Build Indicates build related issues Module: Perception Indicates perception related issues

Comments

@duongnxptit
Copy link

I want to test my perception algorithm, so i tried to run Perception module follow guide but it's not work like guide. What should i do to test perception algorithm without hardware in apollo?

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 18.04): Ubuntu 18.04
  • Apollo installed from (source or binary): Source
  • Apollo version (3.5, 5.0, 5.5, 6.0): 5.0
  • Output of apollo.sh config if on master branch: r5.0.0 branch

Steps to reproduce the issue:

I follow guide to run perception module How to Run Perception Module on Your Local Computer.

Supporting materials (screenshots, command lines, code/script snippets):

Screenshot from 2020-10-26 14-40-30

@daohu527
Copy link
Contributor

seems there is no cuda library. could you please make sure cuda is installed correctly.

@duongnxptit
Copy link
Author

Thanks for your help, @daohu527 ! i have already install cuda but still error like that. My cuda and nvidia version:
Screenshot from 2020-10-27 09-33-53

Should i resintall cuda version 11? And can i change perception algorithm then test with play demo_3.5.record?

@lj0919 lj0919 added the Module: Perception Indicates perception related issues label Oct 27, 2020
@daohu527
Copy link
Contributor

If your error is the same as the one you posted before. could you pls check the path of the dynamic link library use below cmd.

ldd /apollo/bazel-bin/modules/perception/onboard/component/libperception_component_camera.so | grep cuda

If you find the path, and then check if the libcuda.so.1 is in the path.

@jeroldchen jeroldchen added the Module: Build Indicates build related issues label Oct 27, 2020
@duongnxptit
Copy link
Author

Run cmd then result:
libcuda.so.1 => /usr/lib/x86_64-linux-gnu/libcuda.so.1 (0x00007fcdd6c4f000)
After that, i checked libcuda.so.1 in this path, it is already in here.

@daohu527
Copy link
Contributor

use cmd to check if is a symbolic link.

file /usr/lib/x86_64-linux-gnu/libcuda.so.1

@duongnxptit
Copy link
Author

Yes, its a symbolic link.
/usr/lib/x86_64-linux-gnu/libcuda.so.1: symbolic link to libcuda.so.450.80.02

@daohu527
Copy link
Contributor

then

  1. find the libcuda.so.450.80.02 file, if not then it's the problem
  2. if find the file, then use file libcuda.so.450.80.02 again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Build Indicates build related issues Module: Perception Indicates perception related issues
Projects
None yet
Development

No branches or pull requests

8 participants