MVIG-SJTU / AlphaPose

Real-Time and Accurate Full-Body Multi-Person Pose Estimation&Tracking System
http://mvig.org/research/alphapose.html
Other
7.96k stars 1.97k forks source link

undefined symbol: _ZNK3c1010TensorImpl36is_contiguous_nondefault_policy_implENS_12MemoryFormatE #1132

Closed jersonal closed 1 year ago

jersonal commented 1 year ago

i have a problem. look title my environment: ubuntu18.04 python 3.8 cuda 11.3 cudnn 8.2.1 pytorch 1.12.0 i use :python scripts/demo_inference.py --cfg configs/coco/resnet/256x192_res50_lr1e-3_2x-dcn.yaml --checkpoint pretrained_models/fast_dcn_res50_256x192.pth --indir examples/demo/ --save_img and have an error message: ImportError: /home/xxx/workspace/AlphaPose-master/detector/nms/nms_cpu.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZNK3c1010TensorImpl36is_contiguous_nondefault_policy_implENS_12MemoryFormatE

how can i solve it?

jersonal commented 1 year ago

The reason for this error is a project compilation issue, which I resolved by recompiling.

zdl12345678 commented 4 months ago

Hello, could you please provide more details on how you resolved this issue? I have also encountered this issue.

jersonal commented 4 months ago

Hello, could you please provide more details on how you resolved this issue? I have also encountered this issue.

The reason for this error is a project compilation issue, which I resolved by recompiling.