Code Monkey home page Code Monkey logo

Comments (6)

ashawkey avatar ashawkey commented on August 16, 2024 3

@xmk2222 You are right, this is a difference from instant-ngp. However, although we assumes the scene is twice larger in length, we also twice the min step size in ray marching here. So it shouldn't affect much as long as bound is the same as aabb_scale.

from torch-ngp.

ashawkey avatar ashawkey commented on August 16, 2024

Thanks for reporting this. According to this line, desired_resolution should be linearly scaled with aabb_scale (bound in this implmentaiton).
Another problem is that we don't have a multi-scale density grid, and exponential ray marching is not supported, which may lead to worse performance too.
However, currently I don't have a dataset large enough to test these changes, could you share the dataset name if it is openly available?

from torch-ngp.

aoliao12138 avatar aoliao12138 commented on August 16, 2024

NHR provides a multiview dataset for humans.

from torch-ngp.

ashawkey avatar ashawkey commented on August 16, 2024

@xmk2222 I have added the scaling in 086b15c, but on a naive test with lego (bound=16, scale=10), the results are still blurry. Maybe you could test on your dataset again?

from torch-ngp.

xmk2222 avatar xmk2222 commented on August 16, 2024

@ashawkey Thanks! That is exactly what I meant. I will test it later.

However, I think there are some differences still:
In instant-ngp, the condition is:

  • aabb_scale: 16
  • desired_resolution: 32768,
  • bounding_box: [-7.5, 8.5];

But in torch-ngp:

  • bound: 16
  • desired_resolution: 32768 (same as in i-ngp)
  • bounding_box: [-16, 16] which is different from the scale of in i-ngp.

The corresponding code in instant-ngp:

https://github.com/NVlabs/instant-ngp/blob/692ce14f4f154c03c5784a944c625da94b08e292/src/testbed_nerf.cu#L2293:L2294

In my trial, the hash encoding has some tolerence in scaling, but maybe it would be better to strictly align with i-ngp, at least in scaling?

from torch-ngp.

ashawkey avatar ashawkey commented on August 16, 2024

As the cascaded density grid has been implemented, I'll close this for now.

from torch-ngp.

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.