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: ~/anaconda3/lib/python3.7/site-packages/inplace_abn/_backend.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail36_typeMetaDataInstance_preallocated_7E #30

Open
rapires96 opened this issue Apr 22, 2021 · 2 comments

Comments

@rapires96
Copy link

rapires96 commented Apr 22, 2021

Using CUDA 11.3 , PyTorch v1.7, Ubuntu 18.04.5 LTS. While executing:

python -m torch.distributed.launch --nproc_per_node=1 test_panoptic.py --meta metadata.bin --log_dir ~/logs config.ini seamseg_r50_vistas.tar images predictions

Given the following error. If anyone can provide help it will be much appreciated:

Traceback (most recent call last):
File "test_panoptic.py", line 16, in
import seamseg.models as models
File "anaconda3/lib/python3.7/site-packages/seamseg-0.1.dev37+g3d10aea-py3.7-linux-x86_64.egg/seamseg/models/init.py", line 1, in
from .resnet import *
File "anaconda3/lib/python3.7/site-packages/seamseg-0.1.dev37+g3d10aea-py3.7-linux-x86_64.egg/seamseg/models/resnet.py", line 6, in
from inplace_abn import ABN
File "anaconda3/lib/python3.7/site-packages/inplace_abn/init.py", line 1, in
from .abn import ABN, InPlaceABN, InPlaceABNSync
File "anaconda3/lib/python3.7/site-packages/inplace_abn/abn.py", line 7, in
from .functions import inplace_abn, inplace_abn_sync
File "anaconda3/lib/python3.7/site-packages/inplace_abn/functions.py", line 9, in
from . import _backend
ImportError: anaconda3/lib/python3.7/site-packages/inplace_abn/_backend.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail36_typeMetaDataInstance_preallocated_7E
Traceback (most recent call last):
File "anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "anaconda3/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "anaconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 260, in
main()
File "anaconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['anaconda3/bin/python', '-u', 'test_panoptic.py', '--local_rank=0', '--meta', 'metadata.bin', '--log_dir', 'logs', 'seamseg_vistas/config.ini', 'seamseg_vistas/seamseg_r50_vistas.tar', 'images', 'predictions']' returned non-zero exit status 1.

@otoofim
Copy link

otoofim commented Jun 14, 2021

@rapires96
I have same problem. Did you figure out how to resolve it?

@rapires96
Copy link
Author

@rapires96
I have same problem. Did you figure out how to resolve it?

Unfortunately not, ended up not using seamseg at all

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