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
[bug] Failed to copy to symbol host-to-device: invalid device symbol #192
Comments
I think the problem might come from the missing architecture flags for Jetson Nano. You can try to add them in the CMake but I'm not sure the code is compatible. (just try to add @griwodz can tell better. We should also update the list of compatible architectures wrt the CUDA version. |
Thanks for your reply. I tried adding the 5.3 Compute capability specifier to the list, and clean rebuilt the repository. I get a different error now though that seems to be related to running out of memory, I'm not sure whether this was the kind of error that we would expect if the code did not support this architecture : ******************* Image mode ********************** |
Memory could very well be the issue. |
Hello! Thanks again for your suggestion and reply. I tried cropping the sample image down to 260x260 px with one tag visible fully in the center, I still receive a similar error. ******************* Image mode ********************** For an image size of 640 x 640, I get the same |
Some more information, when trying with the --sync option, I get this message sometimes: |
I'm not an expert in cuda either. |
Hello @simogasp thanks for your reply. I'm happy to report that I seem to have solved the problem. Note: I figure this change has to be made on all the other cuda files as well, but it seems like just this fixed it for me. |
thanks for testing that. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am able to compile and run the CCTag detection application with no issues on CPU on a Jetson Nano, with the sample images in the repository. On the other hand, when I pass the --use-cuda flag, I get this error:
`You called ./build/Linux-aarch64/detection with:
--input sample/02.png
--nbrings 3
--bank
--params
--output
--parallel 1
--use-cuda
******************* Image mode **********************
Creating TagPipe 0
Initializing TagPipe 0
/home/dozer/git/CCTag/src/./cctag/cuda/frame_02_gaussian.cu:144
Failed to copy to symbol host-to-device: invalid device symbol
src ptr=7faa0113a0
dst ptr=7faa4b73e8
`
CCtag is being built with cuda support and cmake was able to find the appropriate cuda libraries on my Nano. I am running CUDA 10.2.300 . Please let me know if you need any additional information to debug this issue!
The text was updated successfully, but these errors were encountered: