Run paddleocr CPU on AWS cloud segmentation fault

See original GitHub issue

Dear author I tried run Paddle OCR on AWS cloud server. I got error Segmentation fault. I tried reinstall a lots of paddlepaddle-cpu versions. But It still not work, paddleocr ver 2.3.0.1, paddlepaddle ver 2.1.2. My output error:

— Running analysis [ir_graph_to_program_pass] I0910 09:50:52.969626 22710 analysis_predictor.cc:636] ======= optimize end ======= I0910 09:50:52.973817 22710 naive_executor.cc:98] — skip [feed], feed -> x I0910 09:50:52.976850 22710 naive_executor.cc:98] — skip [batch_norm_4.tmp_3], fetch -> fetch I0910 09:50:52.976873 22710 naive_executor.cc:98] — skip [conv2d_66.tmp_0], fetch -> fetch E0910 09:50:52.977479 22710 analysis_config.cc:81] Please compile with gpu to EnableGpu() — Fused 0 subgraphs into layer_norm op. (220, 1000, 3)


C++ Traceback (most recent call last):

0 paddle::framework::SignalHandle(char const*, int) 1 paddle::platform::GetCurrentTraceBackStringabi:cxx11


Error Message Summary:

FatalError: Segmentation fault is detected by the operating system. [TimeInfo: *** Aborted at 1631267455 (unix time) try “date -d @1631267455” if you are using GNU date ***] [SignalInfo: *** SIGSEGV (@0x0) received by PID 22710 (TID 0x7f4ac1bc3740) from PID 0 ***]

Segmentation fault (core dumped) Many thanks for any support

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
WenmuZhoucommented, Sep 12, 2021

试一下cpu模式能不能跑 --use_gpu=false

0reactions
paddle-bot-old[bot]commented, May 24, 2022

Since you haven't replied for more than 3 months, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. It is recommended to pull and try the latest code first. 由于您超过三个月未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开(建议先拉取最新代码进行尝试),我们会继续跟进。

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segmentation Fault with AWS - Google Groups
Hard to answer... We have never tried running Orthanc on a cloud framework. To better understand the problem, try and follow the instructions...
Read more >
PPOCRLabel - PyPI
PPOCRLabelv2 is a semi-automatic graphic annotation tool suitable for OCR field, with built-in PP-OCR model to automatically detect and re-recognize data.
Read more >
When “TOPS” are Misleading. Neural accelerators are often…
A problem that arises with the provision of special SDKs/MDKs for model ... and no extra data transfer between e.g., CPU and NPU...
Read more >
AWS EC2 Segmentation Fault (core dumped) issue with fast ...
I believe that this instance comes with 12GB gpu memory and thus gpu memory should not be a problem. Also check the input...
Read more >
Starting Model Server - OpenVINO™ Documentation
Start the model server by running the following command with your parameters: ... a Google Cloud Storage path gs://<bucket>/<model_path>. an AWS S3 path ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found