-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
demo examples not working, ' terminated by signal SIGSEGV (Address boundary error) #457
Comments
Please try the image demo with mmdet, to see if it can process images one by one. https://github.com/open-mmlab/mmpose/blob/master/demo/2d_human_pose_demo.md#using-mmdet-for-human-bounding-box-detection |
Hello innerlee, Unfortunately it does not appear to be successful.
and that's the output
|
Hi again innerlee, I have installed mmpose on a jetson nano about two weeks ago, and mmpose on a jetson agx xavier two days ago. This command on the nano works fine:
but fails with a segmentation fault on the xavier. Here is the result of the
Should I maybe try to reinstall all the necessary components of mmpose ? |
I have no experience in jetson xavier :( |
Do you mean theoretically, or is that a pointer to debug the problem ? However, the Jetson Nano, on which the mmpose installation is working, is far less powerfull than the Xavier. Jetson Nano: Jetson AGX Xavier: Anyway, thank you for you availability. I will try to re-install everything when I have time, and will tell you if it worked or not. I'll be back :-) |
Hello, So, I reinstalled everything on my Jetson Xavier from scratch (system, jetpack, torch, opencv and everything), and it still segfault. On the Nano, on which the installation works, I have when on the Xavier I have I will try to install these older versions on the Xavier, see if the solves the segfault somehow. |
Again I have no experience in Jetson. We can try to isolate the error.
|
Hi @innerlee, So, to have consistent results between my Jetson Xavier and my Jetson Nano, I installed on the Xavier the same versions as on the Nano, which is to say: So, I tried torch and it seems to be working just fine.
What bothers me is that when I run the checks in cuda/samples like deviceQuery or bandwidthTest, everything seems to be working fine. Then I would tend to think that pytorch may be the cause of the problem too, but every test I can find to verify the successfull installation of pytorch passes successfully. My last attempt, building pytorch from source. ... I forgot to click on the comment button and this is now a few days old. Anyway, thank you for your help. |
@lweingart Thanks for your additional input. From the stacktrace, it is the nms op that cannot run. So my bet is that ops in mmcv was not compiled successfully. To verify this, you can run the testing code here https://github.com/open-mmlab/mmcv/blob/48d990258549ca626fcf8c34488c00ed6fce108a/tests/test_ops/test_nms.py#L137-L155 Note that the code tests cpu version by default. So you can put all tensors to cuda to trigger the gpu version of nms. |
Hello team,
I just finished installing mmpose on a Jetson AGX Xavier and decided to run the demos, to verify that everything was working well.
I first ran the example using images:
and had this result:
zsh: segmentation fault (core dumped) python3 demo/top_down_img_demo.py --video-path demo/demo_video.mp4
I re-ran it and the second time it went through and I could see the vis_0.jpg to vis_3.jpg images with the pose drawn on them.
The demo about the video refuses to work though
command:
and the result keeps being
zsh: segmentation fault (core dumped) python3 demo/bottom_up_video_demo.py --video-path demo/demo_video.mp4
Here is the result of the
PYTHONPATH=${PWD}:$PYTHONPATH python mmpose/utils/collect_env.py
command:I installed PyTorch from the binaries given by nvidia here:
https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-7-0-now-available/72048
I installed everything using pip, or from source when it was not working (as is the case for quite a few of the requirements by the way)
mmdetection is also installed
If you have any idea where to look, I would gladly take any hint.
Thank you very much for your help
The text was updated successfully, but these errors were encountered: