Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ImportError: ~/anaconda3/lib/python3.7/site-packages/inplace_abn/_backend.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail36_typeMetaDataInstance_preallocated_7E

Open
#30 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
anaconda, python, pytorch

Research direction

Start by reproducing the documented torch.distributed.launch command in the stated Python, PyTorch, CUDA, and Ubuntu environment. Trace the import chain from test_panoptic.py through seamseg.models, seamseg/models/resnet.py, and inplace_abn until _backend fails to load. Done means test_panoptic.py imports and runs without the undefined-symbol error.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
301
Forks
53
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mapillary/seamseg

All issues in mapillary/seamseg

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.