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.33k stars 913 forks source link

ModuleNotFoundError: nms.cpu_nms #104

Closed vasukalariya closed 5 years ago

vasukalariya commented 5 years ago

Showing module not found error in nms.py file, 'nms.cpu_nms' is not found.

Error found while executing : python tools/test.py \ --cfg experiments/mpii/hrnet/w32_256x256_adam_lr1e-3.yaml \ TEST.MODEL_FILE models/pytorch/pose_mpii/pose_hrnet_w32_256x256.pth

command prompt:

Traceback (most recent call last): File "tools/test.py", line 31, in import dataset File "C:\Users\vasuk\HRNets\deep-high-resolution-net.pytorch-master\tools..\lib\dataset__init__.py", line 12, in from .coco import COCODataset as coco File "C:\Users\vasuk\HRNets\deep-high-resolution-net.pytorch-master\tools..\lib\dataset\coco.py", line 22, in from nms.nms import oks_nms File "C:\Users\vasuk\HRNets\deep-high-resolution-net.pytorch-master\tools..\lib\nms\nms.py", line 13, in from .cpu_nms import cpu_nms ModuleNotFoundError: No module named 'nms.cpu_nms'

HeathHose commented 5 years ago

cd ${POSE_ROOT}/lib make