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

No module named 'addict' #30

Closed
assissanliu opened this issue Oct 9, 2023 · 4 comments
Closed

No module named 'addict' #30

assissanliu opened this issue Oct 9, 2023 · 4 comments

Comments

@assissanliu
Copy link

Traceback (most recent call last):
File "G:\neural code\SegmentAnythingin3D-main\run_seg_gui.py", line 11, in
from lib.config_loader import Config
File "G:\neural code\SegmentAnythingin3D-main\lib\config_loader.py", line 18, in
from addict import Dict
ModuleNotFoundError: No module named 'addict'

why?是提示没有数据集吗

@Zanue
Copy link
Collaborator

Zanue commented Oct 9, 2023

Try pip install addict to install the addict package?

@assissanliu
Copy link
Author

File "G:\neural code\SegmentAnythingin3D-main\run.py", line 18, in
from lib import utils, dmpigo
File "G:\neural code\SegmentAnythingin3D-main\lib\utils.py", line 10, in
from lib import seg_dvgo as dvgo
File "G:\neural code\SegmentAnythingin3D-main\lib\seg_dvgo.py", line 12, in
from . import grid
File "G:\neural code\SegmentAnythingin3D-main\lib\grid.py", line 13, in
render_utils_cuda = load(
File "G:\neural code\SegmentAnythingin3D-main\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1202, in load
return _jit_compile(
File "G:\neural code\SegmentAnythingin3D-main\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1425, in _jit_compile
_write_ninja_file_and_build_library(
File "G:\neural code\SegmentAnythingin3D-main\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1524, in _write_ninja_file_and_build_library
_write_ninja_file_to_build_library(
File "G:\neural code\SegmentAnythingin3D-main\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1922, in _write_ninja_file_to_build_library
cuda_flags = common_cflags + COMMON_NVCC_FLAGS + _get_cuda_arch_flags()
File "G:\neural code\SegmentAnythingin3D-main\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1694, in _get_cuda_arch_flags
arch_list[-1] += '+PTX'
IndexError: list index out of range
How can I resolve this question

@Jumpat
Copy link
Owner

Jumpat commented Oct 12, 2023

This error seems a little weird. Can you try nvidia-smi? Is torch.cuda.is_available() ok?

@Zanue
Copy link
Collaborator

Zanue commented Oct 12, 2023

There seems to be a driver / cuda mismatch. Refer to this issue.

@Jumpat Jumpat closed this as completed Mar 13, 2024
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

3 participants