Comments (9)
When digging in a bit more I found the model is actually evaluating a lot more samples per ray with the new code (often the MAX_SAMPLE
) was the old calc_dt
returning a too low number of samples to evaluate?
from ngp_pl.
I'm still debugging to match the original implementation for real scenes (scale>0.5
). Therefore anything with scale>0.5
was never tested and never used...
from ngp_pl.
Hi, just push the code to support large scale
now. Please tell me if the problem persists
from ngp_pl.
I see thanks, reducing the batch_size
or the MAX_SAMPLES
solves the problem for now so it was just a memory problem throwing an uninformative cuda error.. Also I'm using an RTX A6000 so probably the problem is more severe with other GPUs. Thanks!
from ngp_pl.
Hi, just push the code to support large
scale
now. Please tell me if the problem persists
Great, thanks will try now!
from ngp_pl.
Unfortunately, it seems like it's not solved, I still have to make the batch_size smaller. Also now where it should predict objects with large depths it puts objects very close to the camera. And when training instant-ngp with the same data and settings this doesn't happen.
from ngp_pl.
What scene are you using that require such a large scale? First if the scale
is large, it means we need more density grids, so more memory consumption, therefore we can only feed a smaller batch size, this is reasonable.
Second, "it puts objects very close to the camera" this problem actually occurs in one of my test data, and I'm still debugging for it, but others (like the fox data and other llff_data) work fine for now. If you have any idea you're welcome to share!
from ngp_pl.
Yes I agree memory consumption makes sense, I was just surprised that from one version to a few later there was a large increase, but I guess the first version I used wasn't sampling properly along rays for large scale factors and the new one is. I'm working on driving scenes, I'll try to debug that too on my scene and let you know what I find, thanks!
from ngp_pl.
The phenomenon of "putting everything in front of each camera" still occurs on some scenes, and I also observe this on the original instant-ngp (some scenes cannot train successfully, or trains roughly good but with a lot of floaters). If someone has insight on it, you are welcome to share.
That being said, among many data I've tried (nerf_llff_data, mipnerf 360 data and fox, with different scale
s varying from 2.0
to 4.0
), most of them train successfully, so I think the scale
problem is resolved.
from ngp_pl.
Related Issues (20)
- vren HOT 2
- An error of configuration environment during cmake
- debug .cu
- Poor reconstruction with white background in real dataset
- How to calculate the bbox for a custom recored NSVF dataset?
- do you used NDC in llff?
- about show_gui.py
- Train Result
- Volume rendering gradient equation
- RayMarcher的backward是不必要的 HOT 3
- Ambient Occlusion (AO) using the ([Instant-NGP framework]
- Question for the occupancy grid code of Raymatching.cu HOT 1
- def nerf_matrix_to_ngp(pose, scale=0.33, offset=[0, 0, 0]): new_pose = np.array([ [pose[1, 0], -pose[1, 1], -pose[1, 2], pose[1, 3] * scale + offset[0]], [pose[2, 0], -pose[2, 1], -pose[2, 2], pose[2, 3] * scale + offset[1]], [pose[0, 0], -pose[0, 1], -pose[0, 2], pose[0, 3] * scale + offset[2]], [0, 0, 0, 1], ], dtype=np.float32) return new_pose。What is the purpose of the above operation in Instant-Ngp, and how to adjust it accordingly based on the camera pose of your own dataset
- Use COLMAP depth for additional supervised loss
- Optimize extrinsics HOT 1
- How can i get rays_d from xyzs?
- Question about the structure of network
- questions about --scale and N_max
- `Trainer.fit` stopped: `max_epochs=30` reached. HOT 1
- Zero samples got into RuntimeError
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 ngp_pl.