- 系统环境/System Environment:Ubuntu18.04 python3.7
- 版本号/Version:Paddle:2.4.1 PaddleOCR:2.6 问题相关组件/Related components:
- 运行指令/Command Code:python tools/infer/predict_det.py ... --use_tensorrt=True --precision='int8'
- 完整报错/Complete Error Message: grep: warning: GREP_OPTIONS is deprecated; please use an alias or script grep: warning: GREP_OPTIONS is deprecated; please use an alias or script Fatal Python error: Segmentation fault
Current thread 0x00007f0372f1e3c0 (most recent call first):
File "/PDF-OCR/PaddleOCR-release-2.4/drawing-ocr-master/PaddleOCR/tools/infer/utility.py", line 277 in create_predictor
File "tools/infer/predict_det.py", line 146 in init
File "tools/infer/predict_det.py", line 292 in
C++ Traceback (most recent call last):
0 paddle_infer::Predictor::Predictor(paddle::AnalysisConfig const&)
1 std::unique_ptr<paddle::PaddlePredictor, std::default_delete
Error Message Summary:
FatalError: Segmentation fault
is detected by the operating system.
[TimeInfo: Aborted at 1676960786 (unix time) try "date -d @1676960786" if you are using GNU date ]
[SignalInfo: SIGSEGV (@0x2a179) received by PID 172409 (TID 0x7f0372f1e3c0) from PID 172409 ]
Segmentation fault (core dumped)