ImportError: ~/anaconda3/lib/python3.7/site-packages/inplace_abn/_backend.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail36_typeMetaDataInstance_preallocated_7E
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
- Domain
- machine-learning
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
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapillary/seamseg
-
ImportError during testing pre-trained model with test_panoptic.py, possibly a circular import?Open
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Creating a ColabOpen
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
All issues in mapillary/seamseg
Similar issues
-
Performance: deprecated DeviceEntry.config_entries access blocks the event loop for tens of secondsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
tuya/tuya_cloud_ha_bridge#14 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
semantica-agi/semantica#1968 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
agent: ready area: submission priority: high type: docs
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
dkritarth/scopewatch#213 ·
Maintainers usually reply within 1 day
-
Broken link in RELEASE.mdPossibly taken @Jah-yee claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
sphinx-contrib/httpdomain#143 ·
Maintainers usually reply within 1 day