majorli6 7484616022 | 5 months ago | |
---|---|---|
.. | ||
assets | 8 months ago | |
dnerf | 8 months ago | |
ffmlp | 8 months ago | |
freqencoder | 8 months ago | |
gridencoder | 8 months ago | |
nerf | 8 months ago | |
raymarching | 8 months ago | |
scripts | 8 months ago | |
sdf | 8 months ago | |
shencoder | 8 months ago | |
tensoRF | 8 months ago | |
testing | 8 months ago | |
LICENSE | 8 months ago | |
README.md | 5 months ago | |
activation.py | 8 months ago | |
encoding.py | 8 months ago | |
environment.yml | 8 months ago | |
loss.py | 8 months ago | |
main_CCNeRF.py | 8 months ago | |
main_dnerf.py | 8 months ago | |
main_nerf.py | 8 months ago | |
main_sdf.py | 8 months ago | |
main_tensoRF.py | 8 months ago | |
nohup.out | 8 months ago | |
requirements.txt | 8 months ago | |
train.sh | 8 months ago |
A PyTorch implementation (Hash) of the NeRF part (grid encoder, density grid ray sampler) in instant-ngp, as described in Instant Neural Graphics Primitives with a Multiresolution Hash Encoding.
pip3 install -r requirements.txt
We use the same data format as instant-ngp, fox and blender dataset nerf_synthetic.Please download and put them under ./data
.
For custom dataset, you should:
python3 scripts/colmap2nerf.py --video ./data/custom/video.mp4 --run_colmap # if use video
python3 scripts/colmap2nerf.py --images ./data/custom/images/ --run_colmap # if use images
First time running will take some time to compile the CUDA extensions.
# train with fox dataset
python3 main_nerf.py data/fox --workspace trial_nerf -O
# data/fox is dataset path; --workspace means output path; -O means --fp16 --cuda_ray --preload, which usually gives the best results balanced on speed & performance.
# test mode
python3 main_nerf.py data/fox --workspace trial_nerf -O --test
# train with the blender dataset, you should add `--bound 1.0 --scale 0.8 --dt_gamma 0`
# --bound means the scene is assumed to be inside box[-bound, bound]
# --scale adjusts the camera locaction to make sure it falls inside the above bounding box.
# --dt_gamma controls the adaptive ray marching speed, set to 0 turns it off.
python3 main_nerf.py data/nerf_synthetic/lego --workspace trial_nerf -O --bound 1.0 --scale 0.8 --dt_gamma 0
# train with custom dataset(you'll need to tune the scale & bound if necessary):
python3 main_nerf.py data/custom_data --workspace trial_nerf -O
@@ -65,90 +60,4 @@ python3 main_nerf.py data/nerf_synthetic/lego --workspace trial_nerf -O
Convergence criteria | Configuration (x denotes number of GPUs) | Performance | Accuracy | Power(W) | Scalability | Memory utilization(G) | Stability |
---|---|---|---|---|---|---|---|
0.0652 | SDK V2.2,bs:1,1x,fp16 | 10 | 11.9 | 82 | 0.903 | 28.1 | 1 |
DeepSparkHub甄选上百个应用算法和模型,覆盖AI和通用计算各领域,支持主流市场智能计算落地应用场景。
Python Unity3D Asset Text Jupyter Notebook C++ other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》