Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time.sleep #79

Closed
LHXhh opened this issue Oct 21, 2022 · 2 comments
Closed

time.sleep #79

LHXhh opened this issue Oct 21, 2022 · 2 comments

Comments

@LHXhh
Copy link

LHXhh commented Oct 21, 2022

Could you please help me?

(nerfacc) lhx@lhx:~/NeRF/nerfacc$ /home/lhx/miniconda3/envs/nerfacc/bin/python /home/lhx/NeRF/nerfacc/examples/train_mlp_nerf.py
^CTraceback (most recent call last):
File "/home/lhx/NeRF/nerfacc/examples/train_mlp_nerf.py", line 173, in
occupancy_grid.every_n_step(
File "/home/lhx/miniconda3/envs/nerfacc/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/lhx/NeRF/nerfacc/nerfacc/grid.py", line 275, in every_n_step
self._update(
File "/home/lhx/miniconda3/envs/nerfacc/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/lhx/NeRF/nerfacc/nerfacc/grid.py", line 228, in _update
x = contract_inv(
File "/home/lhx/miniconda3/envs/nerfacc/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/lhx/NeRF/nerfacc/nerfacc/contraction.py", line 102, in contract_inv
ctype = type.to_cpp_version()
File "/home/lhx/NeRF/nerfacc/nerfacc/contraction.py", line 63, in to_cpp_version
return _C.ContractionTypeGetter(self.value)
File "/home/lhx/NeRF/nerfacc/nerfacc/cuda/init.py", line 11, in call_cuda
from ._backend import _C
File "/home/lhx/NeRF/nerfacc/nerfacc/cuda/_backend.py", line 38, in
_C = load_extention(name)
File "/home/lhx/NeRF/nerfacc/nerfacc/cuda/_backend.py", line 25, in load_extention
return load(
File "/home/lhx/miniconda3/envs/nerfacc/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1202, in load
return _jit_compile(
File "/home/lhx/miniconda3/envs/nerfacc/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1439, in _jit_compile
baton.wait()
File "/home/lhx/miniconda3/envs/nerfacc/lib/python3.9/site-packages/torch/utils/file_baton.py", line 42, in wait
time.sleep(self.wait_seconds)
KeyboardInterrupt

@nerfstudio-project nerfstudio-project deleted a comment from lemonaddie Oct 21, 2022
@liruilong940607
Copy link
Collaborator

Please see #70 (comment)

@LHXhh
Copy link
Author

LHXhh commented Oct 23, 2022

Thank you very much, I have solved it!

@LHXhh LHXhh closed this as completed Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants