Code Monkey home page Code Monkey logo

Comments (5)

edgarriba avatar edgarriba commented on May 18, 2024

hi @versatran01 ! thanks for considering to contribute to the library :D

I totally agree with you about the naming convention. We are totally open to refactor it if that makes sense and the use of the package more clear. Could you list what do you have in mind to implement ? We could start from there to break down and define a proper API for the transforms submodule.

Regarding the epsilon value, this is to prevent NaN values during the backprop. It happened to me in the past that by missing this value, the gradients where quite unstable and prone to exploit. So that's a trick that pytorch core developers recommended to me to put in practice.

from kornia.

edgarriba avatar edgarriba commented on May 18, 2024

@versatran01 I put this link as reference: https://github.com/ros/geometry/blob/melodic-devel/tf/src/tf/transformations.py

some of the conversions were initially based on this.

from kornia.

tiancheng-zhi avatar tiancheng-zhi commented on May 18, 2024

The default epsilon value (1e-6) is too large. Datasets like ScanNet provide camera poses with very high precision (1e-5 ~ 1e-8). The epsilon value should be much smaller than this value.

Also, it would be good if the user can set epsilon by themselves. Currently "DepthWarper" called "relative_transformation" with default eps value (1e-6). The user who is using DepthWarper cannot set the eps value if they want high precision.

from kornia.

versatran01 avatar versatran01 commented on May 18, 2024

eps should not be part of the function signature, see #79 for more discussion.

from kornia.

edgarriba avatar edgarriba commented on May 18, 2024

closed in favor of #79

from kornia.

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.