Mmdetection: What is the difference between running in a terminal and running in an IDE? in IDE,there is an error

Created on 30 Jul 2019  ·  7Comments  ·  Source: open-mmlab/mmdetection

thanks for your great repo. I have a question:
when I run

python ./tools/train.py configs/pascal_voc/ssd300_voc.py

it work.
but when I directly run train.py in IDE,there is an error:
File "/home/yanlongbin/code/mmdetection/mmdet/ops/dcn/functions/deform_conv.py", line 5, in
from .. import deform_conv_cuda
libcudart.so.10.0: cannot open shared object file: No such file or directory.
I want to know what difference of these two way of operation?
thanks.

Most helpful comment

@Kerrwy
sudo ldconfig /usr/local/cuda-10.0/lib64

All 7 comments

You terminal and IDE have different environments.

@hellock
But with other repo, my IDE and terminal have same results.
I only have one CUDA, one python, and IDE uses same python interpreter. what means of "different"?
thanks for your reply

I have solved it, thanks

I have solved it, thanks

how do you solve it? can you share with me?

@Kerrwy
sudo ldconfig /usr/local/cuda-10.0/lib64

Is it your environment is cuda10? but my environmrnt is cuda9.0.

yes,Change it to your own environment

Was this page helpful?
0 / 5 - 0 ratings