You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to register a module for a custom yolo_world model, but end up with this issue
from mmcv.utils import collect_env; print(collect_env())
output:
Traceback (most recent call last):
File "/home/victor-ho/work/CVOnly/TIP-Adapter/tool/main.py", line 46, in <module>
print(collect_env())
File "/home/victor-ho/anaconda3/envs/yolo-world/lib/python3.9/site-packages/mmcv/utils/env.py", line 72, in collect_env
from mmcv.ops import get_compiler_version, get_compiling_cuda_version
File "/home/victor-ho/anaconda3/envs/yolo-world/lib/python3.9/site-packages/mmcv/ops/__init__.py", line 2, in <module>
from .active_rotated_filter import active_rotated_filter
File "/home/victor-ho/anaconda3/envs/yolo-world/lib/python3.9/site-packages/mmcv/ops/active_rotated_filter.py", line 10, in <module>
ext_module = ext_loader.load_ext(
File "/home/victor-ho/anaconda3/envs/yolo-world/lib/python3.9/site-packages/mmcv/utils/ext_loader.py", line 13, in load_ext
ext = importlib.import_module('mmcv.' + name)
File "/home/victor-ho/anaconda3/envs/yolo-world/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory
Is it only support with version cuda-11.0 only or am I missing something?
my current cuda-12.6 nvidia-driver 560
Reproduces the problem - code sample
from mmcv.utils import collect_env
print(collect_env())
ImportError: Failed to import custom modules from {'imports': ['custom_model'], 'allow_failed_imports': False}, the current sys.path is:
.../TIP-Adapter/tool
.../TIP-Adapter
.../TIP-Adapter/custom_model
...nvs/yolo-world/lib/python39.zip
...nvs/yolo-world/lib/python3.9
...nvs/yolo-world/lib/python3.9/lib-dynload
...nvs/yolo-world/lib/python3.9/site-packages
You should set `PYTHONPATH` to make `sys.path` include the directory which contains your custom module
which i think it root cause is because of import failed mmcv
Additional information
for the version of the mmcv, it would be 2.0.0 i believe, because base on yolo_world requirement, mmcv need to be 2.0.0
The text was updated successfully, but these errors were encountered:
Prerequisite
Environment
I tried to register a module for a custom yolo_world model, but end up with this issue
output:
Is it only support with version cuda-11.0 only or am I missing something?
my current cuda-12.6 nvidia-driver 560
Reproduces the problem - code sample
from mmcv.utils import collect_env
print(collect_env())
Reproduces the problem - command or script
Reproduces the problem - error message
try to import custom modules end up with error
which i think it root cause is because of import failed mmcv
Additional information
for the version of the mmcv, it would be 2.0.0 i believe, because base on yolo_world requirement, mmcv need to be 2.0.0
The text was updated successfully, but these errors were encountered: