Git Product home page Git Product logo

Comments (7)

yyashpatel avatar yyashpatel commented on May 12, 2024

the above issue is resolved, It's working now,

Just one more thing -

the aabb argument that has to be specified in OccupancyGrid(roi_aabb = aabb) is the same as that in ray_marching(scene_aabb=aabb) ?

from nerfacc.

liruilong940607 avatar liruilong940607 commented on May 12, 2024

They can be the same but not necessary to be.

If you have a scene bounded by a bbox, it is recommended to set them to the same.

If you want to use the contraction for the occupancy grid to cover an infinity space, e.g., OccupancyGrid(..., contraction_type=ContractionType.UN_BOUNDED_SPHERE), then the roi_aabb is the region of interest in the infinity space. In this case you shouldn't set the scene_aabb to ray_marching, as it will only march inside this bounding box

from nerfacc.

yyashpatel avatar yyashpatel commented on May 12, 2024

Understood thank you !

I just wanted to know , when performing testing , I wonder how the python api commands provided are to be used .

Because in the training part I use occupancy grid in the raymarching() function . And since it gets updated every time, so I am a bit confused about how to test the model once I have save the weights ?

from nerfacc.

liruilong940607 avatar liruilong940607 commented on May 12, 2024

Same way as you do the training — use the occupancy grid as well.

That means you would want to save both your network and the occupancy grid, and reload them when testing

from nerfacc.

yyashpatel avatar yyashpatel commented on May 12, 2024

Oh okay , I did get your point.
Saving occupancy grid using torch.save() .?

from nerfacc.

liruilong940607 avatar liruilong940607 commented on May 12, 2024

yeah the occupancy grid is a torch.nn.Module so you can save it in the same way you do with network.

from nerfacc.

liruilong940607 avatar liruilong940607 commented on May 12, 2024

Closed as the problems seem to be all resolved. Feel free to reopen it if not.

from nerfacc.

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.