Git Product home page Git Product logo

Comments (4)

guohengkai avatar guohengkai commented on July 17, 2024

Hi, this is the issue about your GPU driver. It is nothing to do with our repo. Please test the following codes:

import torch
x = torch.rand(5, 3).cuda()
print(x)

See https://stackoverflow.com/questions/54264338/why-does-pytorch-not-find-my-nvdia-drivers-for-cuda-support or https://discuss.pytorch.org/t/found-no-nvidia-driver-on-your-system-but-its-there/35063 to find some possible solutions.

from particle-sfm.

C-H-Chien avatar C-H-Chien commented on July 17, 2024

Hi, I made some minor revisions on the code to enforce everything run on CPU, and I met the same issue.
I identified where the segmentation fault comes from, and it arrives at the optimize_location function in the trajectory_optimize.cpp file.
In that function, it is using the ceres solver and does some optimization task, so I don't think the segmentation fault has to do with GPU driver (or maybe I am wrong).

Any thought on this?

from particle-sfm.

guohengkai avatar guohengkai commented on July 17, 2024

@C-H-Chien It is nothing to do with the GPU driver in trajectory optimization. Maybe we can open a new issue to discuss it. BTW, we haven't tested the CPU version yet.

from particle-sfm.

guohengkai avatar guohengkai commented on July 17, 2024

@C-H-Chien Some suggestions:

  1. Disable the trajectory optimization to test if all the other part works normally. (--skip_path_consistency)
  2. Print the inputs of the trajectory optimization to check if something goes wrong.
  3. Check the flow outputs after you modify it to CPU mode.

from particle-sfm.

Related Issues (18)

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.