Closed EEEGUI closed 4 years ago
@EEEGUI Are you using Pytorch 1.2?
@ducksoup Yes...
@ducksoup I have changed Pytorch 1.2 to Pytorch 1.1, but I encounted this problem.
(seamseg) lin@308-ws:~/PycharmProjects/seamseg$ python -m torch.distributed.launch --nproc_per_node=1 scripts/test_panoptic.py --meta metadata.bin --log_dir test_log config.ini seamseg_r50_vistas.tar test_input test_output
Traceback (most recent call last):
File "scripts/test_panoptic.py", line 16, in <module>
import seamseg.models as models
File "/home/lin/Software/anaconda3/envs/seamseg/lib/python3.6/site-packages/seamseg-0.1.dev27+gb179f47-py3.6-linux-x86_64.egg/seamseg/models/__init__.py", line 1, in <module>
from .resnet import *
File "/home/lin/Software/anaconda3/envs/seamseg/lib/python3.6/site-packages/seamseg-0.1.dev27+gb179f47-py3.6-linux-x86_64.egg/seamseg/models/resnet.py", line 6, in <module>
from inplace_abn import ABN
File "/home/lin/Software/anaconda3/envs/seamseg/lib/python3.6/site-packages/inplace_abn/__init__.py", line 2, in <module>
from .abn import ABN, InPlaceABN, InPlaceABNSync
File "/home/lin/Software/anaconda3/envs/seamseg/lib/python3.6/site-packages/inplace_abn/abn.py", line 6, in <module>
from .functions import *
File "/home/lin/Software/anaconda3/envs/seamseg/lib/python3.6/site-packages/inplace_abn/functions.py", line 5, in <module>
from . import _backend
ImportError: /home/lin/Software/anaconda3/envs/seamseg/lib/python3.6/site-packages/inplace_abn/_backend.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E
Reinstalling inplace_abn finished the problem I pasted above. Thank you for your awesome work.
@EEEGUI Pytorch 1.2 compatibility is actually in the works, but I'm not sure when we will be able to release it.
Hello~seamseg is an awesome work! When I run
panoptic_test.py
,I encountered the following error.Do you know why?Thank you for your answer. Command :python -m torch.distributed.launch --nproc_per_node=1 scripts/test_panoptic.py --meta metadata.bin --log_dir test_log config.ini seamseg_r50_vistas.tar test_input test_output