pyskl icon indicating copy to clipboard operation
pyskl copied to clipboard

Segmentation fault (core dumped) with some pretrained models (but not all) in creating my own skeleton data

Open suijua opened this issue 1 year ago • 4 comments

Hello,

I have a strange issue when loading some pretrained models. On loading, some models abort and give an "Segmentation fault (core dumped)" message, like below: image

suijua avatar Jul 31 '22 10:07 suijua

Do not directly use this python script, follow the usage in the ipython notebook and use dist_run.sh to launch the job.

kennymckormick avatar Jul 31 '22 19:07 kennymckormick

Do not directly use this python script, follow the usage in the ipython notebook and use dist_run.sh to launch the job.

Thanks for your reply ! I ran the above mentioned link, but it's something wrong just as this: image

suijua avatar Aug 01 '22 06:08 suijua

Hi, I'm sorry, I cannot figure out what might be the problem. I haven't met that problem on every linux GPU server I used.

kennymckormick avatar Aug 06 '22 19:08 kennymckormick

Hi, I'm sorry, I cannot figure out what might be the problem. I haven't met that problem on every linux GPU server I used.

Thank you for your reply! that is all right

suijua avatar Aug 07 '22 07:08 suijua

Do not directly use this python script, follow the usage in the ipython notebook and use dist_run.sh to launch the job.

Thanks for your reply ! I ran the above mentioned link, but it's something wrong just as this: image

I have the same problem, have you fixed it?

yuchen-ji avatar Dec 13 '22 06:12 yuchen-ji

image

I have tried to change the parameter device of det_model and pose_model, and of course import torch is required! It works in term of my code and env

azelee avatar Mar 06 '23 09:03 azelee

image

I have tried to change the parameter device of det_model and pose_model, and of course import torch is required! It works in term of my code and env

I have the same problem, Can you share your code with me, thank you

AgileChen3 avatar Mar 13 '23 05:03 AgileChen3

image I have tried to change the parameter device of det_model and pose_model, and of course import torch is required! It works in term of my code and env

I have the same problem, Can you share your code with me, thank you

I just changed the det_model and pose_model as my notes above and insert import torch as well, It worked in my server!

azelee avatar Mar 13 '23 12:03 azelee

Hi, @yuchen-ji have you, please, solved this issue? I have the same segmentation fault problem! And the proposed solution by @azelee doesn't work unfortunately :/

samouha avatar Mar 20 '23 17:03 samouha

Recently I also met this problem. I guess the potential reason be a new version of gcc is used to compile the open-mmlab codebases, which lead to some errors. Now I have fixed it by using a very specific conda environment for this project. Please following the new installation guide to reinstall pyskl and see if the problem has been fixed now. Sorry for the late fix.

kennymckormick avatar Mar 22 '23 07:03 kennymckormick

Feel free to re-open the issue if the problem still exists when you install following the latest installation guide.

kennymckormick avatar Apr 20 '23 13:04 kennymckormick

Feel free to re-open the issue if the problem still exists when you install following the latest installation guide.

ok, thanks for your work!

suijua avatar Apr 20 '23 14:04 suijua

Recently I also met this problem. I guess the potential reason be a new version of gcc is used to compile the open-mmlab codebases, which lead to some errors. Now I have fixed it by using a very specific conda environment for this project. Please following the new installation guide to reinstall pyskl and see if the problem has been fixed now. Sorry for the late fix.

hi, I met the same problem again, and I followed the new installation guide or @azelee's solution but they didn't work.

JiaweiMorris avatar Sep 21 '23 08:09 JiaweiMorris

@JiaweiMorris I also met recently

seekFire avatar Mar 15 '24 03:03 seekFire