Comments (7)
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.
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.
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.
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.
Oh okay , I did get your point.
Saving occupancy grid using torch.save() .?
from nerfacc.
yeah the occupancy grid is a torch.nn.Module
so you can save it in the same way you do with network.
from nerfacc.
Closed as the problems seem to be all resolved. Feel free to reopen it if not.
from nerfacc.
Related Issues (20)
- Installing from git fails HOT 1
- Filtering strategy (instead of iterating ray samples) for traverse_grids? HOT 1
- Support for metal backend?
- Coordinate system used in nerfacc HOT 4
- About Compilation HOT 4
- about fixed length render_step_size
- floating things wheen training nerf-synthetic datasets
- ModuleNotFoundError: No module named 'torch' HOT 1
- Inconsistent Results Despite Setting Random Seed HOT 1
- K-planes DyNeRF dataset nerfacc configuration HOT 1
- render_transmittance_from_density crash since nerfacc.cuda.is_cub_available() is False HOT 1
- Thank for your contribution! HOT 13
- Sum instead of Product in scan_cub.cu HOT 2
- Python library
- estimator.binaries.sum() update very slow
- PropNetEstimator causes PyTorch "UserWarning: Detected call of `lr_scheduler.step()` before `optimizer.step()`"
- How to specify the number of sampling points on each ray?
- Error in OccGridEstimator sampling with t_max
- .data_ptr<long>() in scan_cub.cu need to be replaced with .data_ptr<int64_t>() for correct operation on Windows
- ray_indices, t_ends, t_starts are null(empty)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerfacc.