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

import _c error #29

Open
HansolEom opened this issue Feb 5, 2020 · 3 comments
Open

import _c error #29

HansolEom opened this issue Feb 5, 2020 · 3 comments

Comments

@HansolEom
Copy link

I followed the install.me process.
But there is an error like the following.

File "tools/train_net.py", line 18, in
from maskrcnn_benchmark.engine.inference import inference
File "/workspace/FreeAnchor/maskrcnn_benchmark/engine/inference.py", line 20, in
from maskrcnn_benchmark.structures.boxlist_ops import boxlist_iou
File "/workspace/FreeAnchor/maskrcnn_benchmark/structures/boxlist_ops.py", line 6, in
from maskrcnn_benchmark.layers import nms as _box_nms
File "/workspace/FreeAnchor/maskrcnn_benchmark/layers/init.py", line 8, in
from .nms import nms
File "/workspace/FreeAnchor/maskrcnn_benchmark/layers/nms.py", line 3, in
from maskrcnn_benchmark import _C
ImportError: /workspace/FreeAnchor/maskrcnn_benchmark/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN2at19UndefinedTensorImpl10_singletonE

Package Version Location


backcall 0.1.0
certifi 2019.11.28
cffi 1.13.2
cycler 0.10.0
Cython 0.29.14
decorator 4.4.1
ipython 7.12.0
ipython-genutils 0.2.0
jedi 0.16.0
kiwisolver 1.1.0
maskrcnn-benchmark 0.1 /workspace/FreeAnchor
matplotlib 3.1.3
mkl-fft 1.0.15
mkl-random 1.1.0
mkl-service 2.3.0
numpy 1.18.1
olefile 0.46
parso 0.6.0
pexpect 4.8.0
pickleshare 0.7.5
Pillow 4.1.1
pip 20.0.2
prompt-toolkit 3.0.3
ptyprocess 0.6.0
pycocotools 2.0.0
pycparser 2.19
Pygments 2.5.2
pyparsing 2.4.6
python-dateutil 2.8.1
PyYAML 5.3
setuptools 45.1.0.post20200127
six 1.14.0
torch 1.1.0
torchvision 0.2.1
tqdm 4.42.1
traitlets 4.3.3
wcwidth 0.1.8
wheel 0.34.2
yacs 0.1.6

How do I solve this problem?

@123wk45678
Copy link

do you solve it?

@HansolEom
Copy link
Author

do you solve it?

I solved this problem.
It was a setup.py problem.

@123wk45678
Copy link

what do you do in setup.py?please tell me thanks

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