NVIDIA-AI-IOT / trt_pose

Real-time pose estimation accelerated with NVIDIA TensorRT
MIT License
981 stars 293 forks source link

ImportError: "from trt_pose.parse_objects import ParseObjects" #176

Open ysun opened 8 months ago

ysun commented 8 months ago

I searched a lot for various issues when following gidelines of trt_pose/trt_pose_hand. But I can't figure out this one after tried all the ways I can find. I built and installed the trt_pose, however, I met undefined symbol when following live_demo.ipynb.

jetson-pc:~$ python3
Python 3.8.10 (default, Nov 22 2023, 10:22:35)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from trt_pose.draw_objects import DrawObjects
>>> from trt_pose.parse_objects import ParseObjects
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/dist-packages/trt_pose-0.0.1-py3.8-linux-aarch64.egg/trt_pose/parse_objects.py", line 1, in <module>
    import trt_pose.plugins
ImportError: /usr/local/lib/python3.8/dist-packages/trt_pose-0.0.1-py3.8-linux-aarch64.egg/trt_pose/plugins.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZN2at4_ops4full4callEN3c108ArrayRefINS2_6SymIntEEERKNS2_6ScalarENS2_8optionalINS2_10ScalarTypeEEENS9_INS2_6LayoutEEENS9_INS2_6DeviceEEENS9_IbEE

This is my SW environment.

jetson-pc:~$ apt-cache show nvidia-jetpack
Package: nvidia-jetpack
Version: 5.1.1-b56
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-jetpack-runtime (= 5.1.1-b56), nvidia-jetpack-dev (= 5.1.1-b56)
Homepage: http://developer.nvidia.com/jetson
Priority: standard
Section: metapackages
Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_5.1.1-b56_arm64.deb
Size: 29304
SHA256: 7b6c8c6cb16028dcd141144b6b0bbaa762616d0a47aafa3c3b720cb02b2c8430
SHA1: 387e4e47133c4235666176032af0f2ec86461dbb
MD5sum: 0a8692031bf35cc46f7a498e2937bda9
Description: NVIDIA Jetpack Meta Package
Description-md5: ad1462289bdbc54909ae109d1d32c0a8

Getting started with NV IOT can be a bit challenging. Please ensure that the related documents and guides are updated to reflect changes in software versions.