-
Notifications
You must be signed in to change notification settings - Fork 273
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
problem when run the code #29
Comments
Honestly I'm haven't tested it on window, so I'm not familiar with the error. |
OK. Thank you for your response! |
Have you solved this problem, and how to solve it? Looking forward to your reply! |
|
When I run
python main_nerf.py data/fox --workspace trial_nerf --fp16 --ff --cuda_ray --gui
I got the following error,
Traceback (most recent call last):
File "C:\Users\zhisong_liu\Miniconda3\envs\ngp\lib\site-packages\torch\utils\cpp_extension.py", line 1740, in _run_ninja_build
subprocess.run(
File "C:\Users\zhisong_liu\Miniconda3\envs\ngp\lib\subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
I tried to fix the problem on the '['ninja', '-v']' by '['ninja', '--version']', but I got another problem as,
Traceback (most recent call last):
File "main_nerf.py", line 53, in
from nerf.network import NeRFNetwork
File "D:\torch-ngp\nerf\network.py", line 5, in
from encoding import get_encoder
File "D:\torch-ngp\encoding.py", line 5, in
from hashencoder import HashEncoder
File "D:\torch-ngp\hashencoder_init_.py", line 1, in
from .hashgrid import HashEncoder
File "D:\torch-ngp\hashencoder\hashgrid.py", line 9, in
from .backend import _backend
File "D:\torch-ngp\hashencoder\backend.py", line 6, in
_backend = load(name='_hash_encoder',
File "C:\Users\Miniconda3\envs\ngp\lib\site-packages\torch\utils\cpp_extension.py", line 1144, in load
return _jit_compile(
File "C:\Users\Miniconda3\envs\ngp\lib\site-packages\torch\utils\cpp_extension.py", line 1382, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Miniconda3\envs\ngp\lib\site-packages\torch\utils\cpp_extension.py", line 1775, in _import_module_from_library
module = importlib.util.module_from_spec(spec)
ImportError: DLL load failed while importing _hash_encoder: The specified module could not be found.
What should I do?
Originally posted by @Holmes-Alan in #26 (comment)
The text was updated successfully, but these errors were encountered: