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

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

Open
U-Help opened this issue Sep 29, 2020 · 0 comments

Comments

@U-Help
Copy link

U-Help commented Sep 29, 2020

Traceback (most recent call last):
File "tools/train.py", line 9, in
from mmdet.apis import (get_root_logger, init_dist, set_random_seed,
File "/home/qth/BalancedGroupSoftmax/mmdet/apis/init.py", line 2, in
from .inference import (inference_detector, init_detector, show_result,
File "/home/qth/BalancedGroupSoftmax/mmdet/apis/inference.py", line 11, in
from mmdet.core import get_classes
File "/home/qth/BalancedGroupSoftmax/mmdet/core/init.py", line 6, in
from .post_processing import * # noqa: F401, F403
File "/home/qth/BalancedGroupSoftmax/mmdet/core/post_processing/init.py", line 1, in
from .bbox_nms import multiclass_nms
File "/home/qth/BalancedGroupSoftmax/mmdet/core/post_processing/bbox_nms.py", line 3, in
from mmdet.ops.nms import nms_wrapper
File "/home/qth/BalancedGroupSoftmax/mmdet/ops/init.py", line 7, in
from .nms import nms, soft_nms
File "/home/qth/BalancedGroupSoftmax/mmdet/ops/nms/init.py", line 1, in
from .nms_wrapper import nms, soft_nms
File "/home/qth/BalancedGroupSoftmax/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

When I follow the steps of README.md and use "CUDA_VISIBLE_DEVICES=1 python tools/train.py configs/bags/gs_faster_rcnn_r50_fpn_1x_lvis_with0_bg8.py" to train the model, I meet the above problems, can you tell me how to solve it?

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

1 participant