Code Monkey home page Code Monkey logo

Comments (4)

lingtengqiu avatar lingtengqiu commented on August 9, 2024

I find the main issue is the broyden method can not converge to cvg_thresh(1e-5). Many (xd_opt -xd_tgt) coverage to 1e-4 trained on RTX3090, pytorch1.7.0. I do not know how to solve it, could you give me some suggestion?

from snarf.

xuchen-ethz avatar xuchen-ethz commented on August 9, 2024

Hi @lingtengqiu, I've actually encountered the same problem on RTX3080. Later I switched to RTX2080 and haven't gotten the problem anymore. It seems to be a low-level problem and even hardware dependent, I am sorry that I don't really know how to solve this for RTX30xx.

The training curve for PyTorch1.6 seems good - is it also trained with RTX3090? and how does the result look qualitatively? if the qualitative result looks good then I would suggest just using PyTorch1.6. If there are incompatibilities between the code and PyTorch1.6 I am happy to resolve them.

from snarf.

lingtengqiu avatar lingtengqiu commented on August 9, 2024

Thanks for your detailed answer.

The training curve for pytorch1.6 is the result of the model trained on RTX2080 and A-100. I find the main issue is the broyden method on RTX-30 series could not converge to 1e-5 (which leads to the number of valid verts is small, many pts are unable to train). If I modify the cvg_thresh to 1e-3, the training curve is good on RTX-30. I guess it is the implementation of graphic computing is different on 3090 ,compared with other devices.

from snarf.

xuchen-ethz avatar xuchen-ethz commented on August 9, 2024

Thank you for the information. Then it's probably easiest to change GPU ( Given that A100 also works fine for you, I suspect that any model earlier than 8.6 should be okay https://en.wikipedia.org/wiki/CUDA#:~:text=A100%2040GB%2C%20A30-,8.6,-GA102%2C%20GA104%2C%20GA106)

Setting a larger cvg_thresh (e.g. 1e-3) on RTX30xx might cause problems based on my experience - you might get artifacts (noisy spikes) on the output mesh because the loose cvg_thresh could introduce false correspondences.

from snarf.

Related Issues (12)

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.