sxyu / plenoctree

PlenOctrees: NeRF-SH Training & Conversion
https://alexyu.net/plenoctrees
BSD 2-Clause "Simplified" License
425 stars 78 forks source link

error when run octree extraction #23

Closed Holmes-Alan closed 2 years ago

Holmes-Alan commented 2 years ago

Hello, thank you for providing codes! I met the problem when trying to extract the octree from a Jax checkpoint.

I ran the command as: python -m octree.extraction --train_dir checkpoints/chair/ --is_jaxnerf_ckpt --config nerf_sh/config/blender --data_dir ../../data/3D/synthetic/chair --output checkpoints/chair/octrees/tree.npz

and I got the error as: File "/workspace/NeRF/plenoctree/octree/extraction.py", line 184, in calculate_grid_weights opts = _C.RenderOptions() AttributeError: 'NoneType' object has no attribute 'RenderOptions'

Could you please help me?

Holmes-Alan commented 2 years ago

resolved

SSground commented 2 years ago

how to solve?

CCOSerika commented 2 years ago

I solved it by pip uninstall svox, download svox.zip and pip install svox.zip. Hope it helps.

weihaosky commented 2 years ago

solved by installing svox of the right version pip install svox==0.2.28

liaohuanxuan commented 1 year ago

I still have this problem, is there any other solution?