deep-high-resolution-net.pytorch icon indicating copy to clipboard operation
deep-high-resolution-net.pytorch copied to clipboard

ImportError: failed to map segment from shared object

Open riorafe opened this issue 5 years ago • 1 comments

Hello, can anyone help me to fix this error? I have made new fresh conda env and install pytorch 1.5.1 with cuda 10.2 and follow every single step from requirements.txt and cocoapi But I still get this error below

Traceback (most recent call last): File "tools/test.py", line 31, in import dataset File "/mnt/sdb5/deep-high-resolution-net.pytorch/tools/../lib/dataset/init.py", line 12, in from .coco import COCODataset as coco File "/mnt/sdb5/deep-high-resolution-net.pytorch/tools/../lib/dataset/coco.py", line 22, in from nms.nms import oks_nms File "/mnt/sdb5/deep-high-resolution-net.pytorch/tools/../lib/nms/nms.py", line 13, in from .cpu_nms import cpu_nms ImportError: /mnt/sdb5/deep-high-resolution-net.pytorch/tools/../lib/nms/cpu_nms.cpython-38-x86_64-linux-gnu.so: failed to map segment from shared object

I have found that cd lib make looks like this clipboard-image

riorafe avatar Jul 02 '20 15:07 riorafe

Have you solved this problem?

zhangrj91 avatar Sep 13 '21 12:09 zhangrj91