Giter Club home page Giter Club logo

Comments (12)

qdLMF avatar qdLMF commented on May 23, 2024

Thank you for your attention. Ubuntu-18.04, ROS Melodic.

from vins-fusion-gpu-ba.

WuZihao12 avatar WuZihao12 commented on May 23, 2024

Which version of cuda are you using? I ran your job successfully using 11.0. But serious drift occurred on the MH01 data set.

from vins-fusion-gpu-ba.

WuZihao12 avatar WuZihao12 commented on May 23, 2024

image

from vins-fusion-gpu-ba.

qdLMF avatar qdLMF commented on May 23, 2024

CUDA 11.0

from vins-fusion-gpu-ba.

qdLMF avatar qdLMF commented on May 23, 2024

What is your GPU's compute ability?

from vins-fusion-gpu-ba.

WuZihao12 avatar WuZihao12 commented on May 23, 2024

My graphics card is the 3060 on my laptop, with a computing power of 86.

from vins-fusion-gpu-ba.

WuZihao12 avatar WuZihao12 commented on May 23, 2024

Restart the computer and the following problem occurs after re-running (cuda:11.0):
image

from vins-fusion-gpu-ba.

qdLMF avatar qdLMF commented on May 23, 2024

It might be a problem with atomic add.
My GPU is only 5.2. If your GPU's compute capability is >= 6.0, your may have to do some changes to MyAtomicAdd() in device_utils.cu as "How To Build" section in README instructs.
Or, check if your enviroment has the macro __CUDA_ARCH__ defined, if it is defined and >= 600, compiler should generate a specialized version of MyAtomicAdd() using CUDA's atomicAdd(). I don't have a GPU with compute capability >= 6.0, so I never tested if it works.
Anyway, for details info about MyAtomicAdd(), please check it's implementation in device_utils.cu.

from vins-fusion-gpu-ba.

WuZihao12 avatar WuZihao12 commented on May 23, 2024

Although my computing power exceeds 60, I put The #if CUDA_ARCH < 600 macro is commented out, but the current one is still used. But it still gives the following error:
image

from vins-fusion-gpu-ba.

qdLMF avatar qdLMF commented on May 23, 2024

I'm sorry that I cannot think of any solution for now. Debugging really have exhausted me when I was building this implementation. When I was debugging it, I just used the most naive way, that is, printing out all elements of all matrices along the way to txt files and check if there's any NAN.

from vins-fusion-gpu-ba.

WuZihao12 avatar WuZihao12 commented on May 23, 2024

Still want to thank you for your great work!

from vins-fusion-gpu-ba.

qdLMF avatar qdLMF commented on May 23, 2024

Thank you for your attention.

from vins-fusion-gpu-ba.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.