GithubHelp home page GithubHelp logo

Comments (6)

ClementPinard avatar ClementPinard commented on June 5, 2024

This error is triggered when your intrinsics matrix is not Invertible. Intrinsics matrix usually are in the form of

[[fx, 0, cx]
 [0, fy, cy]
 [0,  0,  1]]

so it should not happen. How did you preprocess your KITTI dataset ? do you have a sample of cam.txt from your dataset ?

from sfmlearner-pytorch.

MatthewLee11 avatar MatthewLee11 commented on June 5, 2024

@ClementPinard Thank you for your answer. I checked the cam.txt and found the value of intrinsics is 0.000000,0.,0.000000,0.,0.000000,0.000000,0.,0.,1. and I don't know why. Is it because I use python2.7 instead of python3? I will install PyTorch based on python3 and try again to see if it's the reason. Thank you.

from sfmlearner-pytorch.

MatthewLee11 avatar MatthewLee11 commented on June 5, 2024

@ClementPinard I solved the problem. It's just because of the version of python. Thank you very much!

from sfmlearner-pytorch.

ClementPinard avatar ClementPinard commented on June 5, 2024

thanks for your insight ! does it mean that running data preprocessing script with python 2.7 ? I'm curious about what went wrong :)

from sfmlearner-pytorch.

MatthewLee11 avatar MatthewLee11 commented on June 5, 2024

@ClementPinard I'm so sorry that I didn't log on to GitHub these days. Your guessing is right. I use python 2.7 to run data preprocessing script and met the problem.

from sfmlearner-pytorch.

MatthewLee11 avatar MatthewLee11 commented on June 5, 2024

@ClementPinard When I used python3.6 to run the scripy, I solved the problem.

from sfmlearner-pytorch.

Related Issues (20)

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.