open-mmlab / mmdeploy

OpenMMLab Model Deployment Framework
https://mmdeploy.readthedocs.io/en/latest/
Apache License 2.0
2.76k stars 634 forks source link

error on ubuntu20.04 #2023

Closed sidh1603 closed 1 year ago

sidh1603 commented 1 year ago

📚 The doc issue

Hi, after installing rtmpose , i run it on windows by using command

python pose_tracker.py cpu rtmpose-ort/rtmdet-nano/ rtmpose-ort/rtmpose-m/ 0

it work well and the speed is also good on cpu .

but when i run the same command on ubuntu20.04 , i got the error 9c88ffbe507edebeb539f0b0dca3fa0b20093194b640d0ba66cebc6f9948879a

Suggest a potential alternative/fix

No response

irexyc commented 1 year ago

Hi, can you share the rtmpose-ort/ folder ?

sidh1603 commented 1 year ago

rtmpose-cpu.zip https://drive.google.com/file/d/1CdqytHbR_vpEoLlN4K-rAM6ldvM8Kz_u/view?usp=drive_web HI,

THanks for your reply.

i am sharing the rtmpose-ort folder with you

On Mon, Apr 24, 2023 at 1:11 AM Chen Xin @.***> wrote:

Hi, can you share the rtmpose-ort/ folder ?

— Reply to this email directly, view it on GitHub https://github.com/open-mmlab/mmdeploy/issues/2023#issuecomment-1519445829, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMFGOEUTMEJTLFECOOFHAOTXCYKSTANCNFSM6AAAAAAXIZWXJE . You are receiving this because you authored the thread.Message ID: @.***>

sidh1603 commented 1 year ago

Hi,This is the error , i m getting on running on ubuntu Sent from my iPhoneOn Apr 24, 2023, at 10:53 AM, Siddharth Rana @.> wrote: rtmpose-cpu.zipHI,THanks for your reply.i am sharing the rtmpose-ort folder with youOn Mon, Apr 24, 2023 at 1:11 AM Chen Xin @.> wrote: Hi, can you share the rtmpose-ort/ folder ?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

sidh1603 commented 1 year ago

Hi,

Any solution??

irexyc commented 1 year ago

Hi @sidh1603 Sorry for late reply, You issue may similiar to wizardly_ellis.

The error may due to some UB in our code and revelent to gcc _GLIBCXX_ASSERTIONS flag. However I can't reproduce on my machine.

You machine seems are not ubuntu20.04? I don't think gcc will be installed in /opt/rh/devtoolset-9 on ubuntu. Or are you run the program in a docker container? If so, please provide your container information. If not, plesase provide the output of uname -a so I can try to reproduce it with same env.

sidh1603 commented 1 year ago

Hi, output of uname -aSent from my iPhoneOn Apr 26, 2023, at 1:14 AM, Chen Xin @.***> wrote: Hi @sidh1603 Sorry for late reply, You issue may similiar to wizardly_ellis. The error may due to some UB in our code and revelent to gcc _GLIBCXX_ASSERTIONS flag. However I can't reproduce on my machine. You machine seems are not ubuntu20.04? I don't think gcc will be installed in /opt/rh/devtoolset-9 on ubuntu. Or are you run the program in a docker container? If so, please provide your container information. If not, plesase provide the output of uname -a so I can try to reproduce it with same env.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

irexyc commented 1 year ago

@sidh1603

Are you work in docker?

And you seems not provide the output of uname -a.

sidh1603 commented 1 year ago

Hi,its ubuntu 20.04Sent from my iPhoneOn Apr 27, 2023, at 1:07 AM, Chen Xin @.***> wrote: @sidh1603 Are you work in docker? And you seems not provide the output of uname -a.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

irexyc commented 1 year ago

@sidh1603

Hi, ubuntu 20.04 won't have gcc installed in /opt/rh/devtoolset-9/

sidh1603 commented 1 year ago

Hi,

the output of uname -a is:

Linux dellcv1-OptiPlex-7000 5.15.0-69-generic #76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux.

Gcc Version :

gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0Copyright (C) 2019 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Kind Regards Siddharth

On Thu, Apr 27, 2023 at 1:32 AM Chen Xin @.***> wrote:

@sidh1603 https://github.com/sidh1603

Hi, ubuntu 20.04 won't have gcc installed in /opt/rh/devtoolset-9/

— Reply to this email directly, view it on GitHub https://github.com/open-mmlab/mmdeploy/issues/2023#issuecomment-1524849040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMFGOEXL7PZ2TRU7BXEBS3TXDIHINANCNFSM6AAAAAAXIZWXJE . You are receiving this because you were mentioned.Message ID: @.***>

NicolasPetermann134 commented 1 year ago

Could you solve the problem? I'm facing the same issue. Would appreciate any help a lot.

sidh1603 commented 1 year ago

Hi,No for the same i switched to windows , because i want to run on cpu.  i tried everything but nothing worked.Sent from my iPhoneOn Jun 25, 2023, at 1:16 PM, NicolasPetermann134 @.***> wrote: Could you solve the problem? I'm facing the same issue. Would appreciate any help a lot.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

NicolasPetermann134 commented 1 year ago

oh okay, thx for your feedback, will try the same then.

github-actions[bot] commented 1 year ago

This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.

sidh1603 commented 1 year ago

Hi,i am able to run on ubuntuSent from my iPhoneOn Sep 22, 2023, at 8:48 PM, github-actions[bot] @.***> wrote: This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

irexyc commented 1 year ago

To any who has the same problem.

The vector assert error might due to onnxruntime. We found on some pc, running onnxruntime 1.8.1 will face this assert error. We upgrade our dependencies of onnxruntime to 1.15.1 on mmdeploy 1.3.0. The latest version may fix this problem.

github-actions[bot] commented 1 year ago

This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.

github-actions[bot] commented 1 year ago

This issue is closed because it has been stale for 5 days. Please open a new issue if you have similar issues or you have any new updates now.