ashawkey / torch-ngp

A pytorch CUDA extension implementation of instant-ngp (sdf and nerf), with a GUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: No module named '_hash_encoder'

Zdream02 opened this issue · comments

When I run _hash_coder in Linux system call, I get the following error:

Traceback (most recent call last): File "backend.py", line 15, in <module> 'bindings.cpp', File "/home/hdl/anaconda3/envs/hsl/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 658, in load is_python_module) File "/home/hdl/anaconda3/envs/hsl/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 838, in _jit_compile return _import_module_from_library(name, build_directory, is_python_module) File "/home/hdl/anaconda3/envs/hsl/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 978, in _import_module_from_library file, path, description = imp.find_module(module_name, [path]) File "/home/hdl/anaconda3/envs/hsl/lib/python3.6/imp.py", line 297, in find_module raise ImportError(_ERR_MSG.format(name), name=name) ImportError: No module named '_hash_encoder'

how should I do