leoxiaobin / deep-high-resolution-net.pytorch

The project is an official implementation of our CVPR2019 paper "Deep High-Resolution Representation Learning for Human Pose Estimation"
https://jingdongwang2017.github.io/Projects/HRNet/PoseEstimation.html
MIT License
4.32k stars 908 forks source link

ImportError: failed to map segment from shared object #194

Open riorafe opened 4 years ago

riorafe commented 4 years ago

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

zhangrj91 commented 3 years ago

Have you solved this problem?