Comments (10)
I think there is not a platform related issue here after I fixed vren compile error.
from ngp_pl.
Hi, are you using the latest code? Please set --scale 0.5
. I'm still debugging for scale>0.5 (real scenes) and having difficulties, but all the nsvf data should work with default settings.
from ngp_pl.
Yep! I tried 0,5 also but got almost the same result. Is it a problem with optimiser?
from ngp_pl.
Can you first confirm that it works with the default optimizer? If so, then it's the problem of the optimizer. I've tried SGD, RAdam too and they didn't work either
from ngp_pl.
@kwea123 Thanks! Ill try apex optimizer, I did not do it yet because It is not easy to install it with Windows. I suppose that there is a problem with a regular Adam when we use mixed precision.
from ngp_pl.
Hi @kwea123! I've tried training wi9th the default optimizer and rusult does not change
from ngp_pl.
So you're using windows? I'll try when I have time, but bare in mind that this repo is for research purpose so if I can't find an easy way to solve this problem with windows, this issue will be "won't fix". Thanks for your comprehension.
from ngp_pl.
Sure! No problem!
from ngp_pl.
@kwea123 Thanks! Ill try apex optimizer, I did not do it yet because It is not easy to install it with Windows. I suppose that there is a problem with a regular Adam when we use mixed precision.
i replace apex FusedAdam to torch.optim.Adam and get psnr=34.30 on lego scene.
(base) D:\ngp_pl>python train.py --root_dir E:\Synthetic_NeRF\Synthetic_NeRF\Lego --exp_name Lego --scale 1 --batch_size 4096
GridEncoding: Nmin=16 b=1.38191 F=2 T=2^19 L=16
Using 16bit native Automatic Mixed Precision (AMP)
GPU available: True, used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
GridEncoding: Nmin=16 b=1.38191 F=2 T=2^19 L=16
Using 16bit native Automatic Mixed Precision (AMP)
GPU available: True, used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
Missing logger folder: logs\Lego 508, train/s_per_ray=73.60, train/psnr=23.30]
Loading 100 train images ...
100it [00:03, 28.70it/s]
Loading 200 test images ...
200it [00:06, 30.06it/s]
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
Epoch 29: 100%|████████████████████████████████████████████████████| 1200/1200
[01:47<00:00, 11.13it/s, loss=0.000213, train/s_per_ray=23.10, train/psnr=36.50, test/psnr=34.30]
from ngp_pl.
Thanks, btw you should use scale=0.5
for maximal performance on synthetic scenes
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.