Comments (6)
@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.
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.
NHR provides a multiview dataset for humans.
from torch-ngp.
@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.
@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
: 16desired_resolution
: 32768,bounding_box
: [-7.5, 8.5];
But in torch-ngp
:
bound
: 16desired_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:
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.
As the cascaded density grid has been implemented, I'll close this for now.
from torch-ngp.
Related Issues (20)
- GridEncoder can't handle empty positions
- hi, I have some questions when using 'test' mode after trained a model with custom data
- The value of `self.cascade` becomes 0 when `bound <= 0.5`, causing errors
- Interpolation in GridEncoder might be wrong? HOT 1
- Control Time in GUI for D-NeRF HOT 1
- Hi. I had a question about the dataloading step. Why does all the data need to be loaded in a single step. I am running out of GPU memory. Is it possible to do it in batches.
- Ambient Occlusion (AO) using the (Instant-NGP framework)
- fail to rebuild radiance field. such as fox, lego HOT 1
- ModuleNotFoundError: No module named '_raymarching' HOT 8
- OK. Thank you for your response!
- About environments! HOT 1
- ImportError: No module named '_hash_encoder'
- About GUI
- issues when build extensions:ERROR: Could not build wheels for raymarching, which is required to install pyproject.toml-based projects HOT 1
- CUDA 12
- D-NeRF does not perform well when running the HyperNeRF data set. Does it need to make some adjustments?
- A tip to use smpl camera data to use with torch-ngp? Which transformation do we use?
- build extension problem HOT 1
- This is strange, I haven't met this problem. Could you try to install some other packages that require building extensions? For example, `pip install torch-scatter` following [this](https://github.com/rusty1s/pytorch_scatter#from-source)?
- The growth process of `local_step` seems to have an issue.
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 torch-ngp.