Open fanzz1208 opened 1 year ago
Traceback (most recent call last):
File "train.py", line 270, in
The second issue is fixed in #2124
@fanzz1208 were you able to solve the first error?
The second issue is fixed in #2124
I am facing the first problem too. Is there any solution?
If you're seeing the first error, you can check that nvcc
is in your PATH? Installing cuda-toolkit
[^1] may fix this.
[^1]: For example, via conda: conda install -c "nvidia/label/cuda-11.8.0" cuda-toolkit
this change is not reflected in the package installed via pip
.
it'd be great if the latest pip package can be released with this change!
Describe the bug File "train.py", line 190, in launch [0/1821] main_func(local_rank=0, world_size=world_size, config=config) File "train.py", line 101, in train_loop trainer.train() File "/opt/conda/lib/python3.7/site-packages/nerfstudio/engine/trainer.py", line 239, in train loss, loss_dict, metrics_dict = self.train_iteration(step) File "/opt/conda/lib/python3.7/site-packages/nerfstudio/utils/profiler.py", line 93, in inner out = func(*args, kwargs) File "/opt/conda/lib/python3.7/site-packages/nerfstudio/engine/trainer.py", line 433, in trainiteration , loss_dict, metrics_dict = self.pipeline.get_train_loss_dict(step=step) File "/opt/conda/lib/python3.7/site-packages/nerfstudio/pipelines/dynamic_batch.py", line 80, in get_train_loss_dict model_outputs, loss_dict, metrics_dict = super().get_train_loss_dict(step) File "/opt/conda/lib/python3.7/site-packages/nerfstudio/utils/profiler.py", line 93, in inner out = func(*args, *kwargs) File "/opt/conda/lib/python3.7/site-packages/nerfstudio/pipelines/base_pipeline.py", line 278, in get_train_loss_dict model_outputs = self.model(ray_bundle) File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl return forward_call(input, kwargs) File "/opt/conda/lib/python3.7/site-packages/nerfstudio/models/base_model.py", line 140, in forward return self.get_outputs(ray_bundle) File "/opt/conda/lib/python3.7/site-packages/nerfstudio/models/instant_ngp.py", line 186, in get_outputs cone_angle=self.config.cone_angle, File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl return forward_call(*input, kwargs) File "/opt/conda/lib/python3.7/site-packages/nerfstudio/model_components/ray_samplers.py", line 480, in forward alpha_thre=alpha_thre, File "/opt/conda/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context return func(*args, *kwargs) File "/opt/conda/lib/python3.7/site-packages/nerfacc/estimators/occ_grid.py", line 172, in sampling cone_angle=cone_angle, File "/opt/conda/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context return func(args, kwargs) File "/opt/conda/lib/python3.7/site-packages/nerfacc/grid.py", line 128, in traverse_grids t_mins, t_maxs, hits = ray_aabb_intersect(rays_o, rays_d, aabbs) File "/opt/conda/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context return func(*args, *kwargs) File "/opt/conda/lib/python3.7/site-packages/nerfacc/grid.py", line 49, in ray_aabb_intersect miss_value, File "/opt/conda/lib/python3.7/site-packages/nerfacc/cuda/init.py", line 13, in call_cuda return getattr(_C, name)(args, **kwargs) AttributeError: 'NoneType' object has no attribute 'ray_aabb_intersect'