trt_pose
trt_pose copied to clipboard
Error trt_pose.coco not found
ModuleNotFoundError Traceback (most recent call last)
/trt_pose/trt_pose/coco.py in
ModuleNotFoundError: No module named 'trt_pose.plugins'
Hi Jayajohnson,
Thanks for reaching out!
My initial guess is that you may be running this from the root of the trt_pose project directory.
If this is the case, your python program may be attempting to load the compiled extensions from the local folder rather than from the installed package. To do this, you need to build the extensions in place
python3 setup.py build_ext --inplace
Please let me know if this helps or you run into any issues.
Best, John
@ jaybdub my working directory is not in the root of the trt_pose project directory ,but i still have the issue:
and i have already run python3 setup.py build_ext --inplace

@ jaybdub I also got same problem, no resolution yet. My board is Jetson Nano.

And i have already run python3 setup.py build_ext --inplace
My environment: Jetpack4.4.1(=Jetbot0.4.2)
jetbot@nano-4gb-jp441:~/trt_pose$ python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
>>> import torch
>>> print(torch.__version__)
1.7.0
>>> import torchvision
>>> print(torchvision.__version__)
0.8.0a0+45f960c
I downgraded torch and torchvision, though I see the same problem.
jetbot@nano-4gb-jp441:~/trt_pose$ python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> print(torch.__version__)
1.6.0
>>> import torchvision
>>> print(torchvision.__version__)
0.7.0a0+78ed10c
I ran below code for checking what happens. Why there's undefined symbol?
jetbot@nano-4gb-jp441:~/torch2trt$ python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import trt_pose.coco
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/trt_pose-0.0.1-py3.6-linux-aarch64.egg/trt_pose/coco.py", line 9, in <module>
import trt_pose.plugins
ImportError: /usr/local/lib/python3.6/dist-packages/trt_pose-0.0.1-py3.6-linux-aarch64.egg/trt_pose/plugins.cpython-36m-aarch64-linux-gnu.so: undefined symbol: _ZN3c104impl23ExcludeDispatchKeyGuardC1ENS_14DispatchKeySetE
@zeta0707 Hi, Have you solved? I have a same problem.
Unfortunately not yet.
Thanks
2021년 4월 22일 (목) 오후 2:09, Hiroaki-K4 @.***>님이 작성:
@zeta0707 https://github.com/zeta0707 Hi, Have you solved? I have a same problem.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NVIDIA-AI-IOT/trt_pose/issues/55#issuecomment-824542294, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTG6A5PNXEPRJXS6LGXOETTJ6VQRANCNFSM4OUC7JXA .
ok. In my case, It was fixed after replacing with the latest trt_pose.
Hi
Great, what version of trt_pose? I'm afraid that sometimes latest misreading.
2021년 4월 23일 (금) 오후 1:51, Hiroaki-K4 @.***>님이 작성:
ok. In my case, It was fixed after replacing with the latest trt_pose.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NVIDIA-AI-IOT/trt_pose/issues/55#issuecomment-825383855, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTG6A36BSM4TN7SXVU4XU3TKD4DXANCNFSM4OUC7JXA .
Hi,
Has a fix for this issue been found?
I am also facing this issue. Has anyone found the solution?
I have the same issue, any solution ?