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

libtorch_cpu.so: cannot open shared object file: No such file or directory #23

Open
wxk2008 opened this issue Oct 14, 2020 · 1 comment

Comments

@wxk2008
Copy link

wxk2008 commented Oct 14, 2020

File "./demo/D2Det_demo.py", line 5, in
from mmdet.apis import init_detector, inference_detector, show_result_pyplot
File "/opt/coco/project/D2Det/demo/../mmdet/apis/init.py", line 1, in
from .inference import (async_inference_detector, inference_detector,
File "/opt/coco/project/D2Det/demo/../mmdet/apis/inference.py", line 11, in
from mmdet.core import get_classes
File "/opt/coco/project/D2Det/demo/../mmdet/core/init.py", line 7, in
from .post_processing import * # noqa: F401, F403
File "/opt/coco/project/D2Det/demo/../mmdet/core/post_processing/init.py", line 1, in
from .bbox_nms import multiclass_nms, multiclass_nms1
File "/opt/coco/project/D2Det/demo/../mmdet/core/post_processing/bbox_nms.py", line 3, in
from mmdet.ops.nms import nms_wrapper
File "/opt/coco/project/D2Det/demo/../mmdet/ops/init.py", line 7, in
from .nms import nms, soft_nms
File "/opt/coco/project/D2Det/demo/../mmdet/ops/nms/init.py", line 1, in
from .nms_wrapper import nms, soft_nms
File "/opt/coco/project/D2Det/demo/../mmdet/ops/nms/nms_wrapper.py", line 4, in
from . import nms_cpu, nms_cuda
ImportError: libtorch_cpu.so: cannot open shared object file: No such file or directory

@JialeCao001
Copy link
Owner

@wxk2008 maybe the enviroment is not right. Please use pytorch1.1.0 and cuda9.0/10.0.

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