-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
FatalError: Process abort signal
is detected by the operating system. [TimeInfo: *** Aborted at 1614049874 (unix time) try "date -d @1614049874" if you are using GNU date ***] [SignalInfo: *** SIGABRT (@0x3e800000501) received by PID 1281 (TID 0x7f0436df8740) from PID 1281 ***] 已放弃(吐核)
#2081
Comments
你用的是自己编译的paddle ? |
不能用啊,我也提了issue,没人理我。。。 #2069 |
pip 的paddle可以用阿,但到上面tools/infer/predict_det.py 的时候就会报这个错,不知道是哪里出了问题,特来请教下各路大神,求指点 |
PaddleOCR]$ conda config --show
|
安装完成后您可以使用 python 或 python3 进入python解释器,输入import paddle ,再输入 paddle.utils.run_check() 如果出现PaddlePaddle is installed successfully!,说明您已成功安装 |
我这边的环境没法复现,建议确认下paddle 2.0.0版本是否安装成功 |
$ python3
您说的这块是没有问题的哈。谢谢 |
python3 tools/infer/predict_rec.py --image_dir="./doc/imgs_words/ch/word_2.jpg" --rec_model_dir="ch_ppocr_mobile_v2.0_rec_infer" |
python版本从3.8降到3.7就可以用了。谢谢 #2069和@LDOUBLEV 两位大兄弟 |
我用的python3.7.3也报这个错误 |
I solved it by using |
请问你解决了吗 |
my python 3.7 also meet this error, I can train, but got such error when run eval.py. Any solutions? |
搞了两天 把python从3.8改3.7终于可以了 |
我用的3.7.0 |
把batch size调小试试 --> #48615 |
centos7 cpu版本
$ paddle --version
PaddlePaddle 2.0.0, compiled with
with_avx: ON
with_gpu: OFF
with_mkl: ON
with_mkldnn: ON
with_python: ON
PaddleOCR]$ python3 ./tools/infer/predict_det.py --image_dir="./doc/imgs/12.jpg" --det_model_dir="./inference/det_db/"
E0223 17:18:08.118952 20326 analysis_config.cc:78] Please compile with gpu to EnableGpu()
OMP: Error #15: Initializing libiomp5.so, but found libiomp5.so already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
C++ Traceback (most recent call last):
0 paddle::AnalysisPredictor::ZeroCopyRun()
1 paddle::framework::NaiveExecutor::Run()
2 paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, paddle::platform::Place const&)
3 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, paddle::platform::Place const&) const
4 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, paddle::platform::Place const&, paddle::framework::RuntimeContext*) const
5 std::_Function_handler<void (paddle::framework::ExecutionContext const&), paddle::framework::OpKernelRegistrarFunctor<paddle::platform::CPUPlace, false, 0ul, paddle::operators::GemmConvKernel<paddle::platform::CPUDeviceContext, float>, paddle::operators::GemmConvKernel<paddle::platform::CPUDeviceContext, double> >::operator()(char const*, char const*, int) const::{lambda(paddle::framework::ExecutionContext const&)#1}>::_M_invoke(std::_Any_data const&, paddle::framework::ExecutionContext const&)
6 paddle::operators::GemmConvKernel<paddle::platform::CPUDeviceContext, float>::Compute(paddle::framework::ExecutionContext const&) const
7 void paddle::operators::math::Blaspaddle::platform::CPUDeviceContext::MatMul(paddle::framework::Tensor const&, bool, paddle::framework::Tensor const&, bool, float, paddle::framework::Tensor*, float) const
8 cblas_sgemm
9 sgemm
10 mkl_blas_sgemm
11 mkl_serv_get_num_stripes
12 omp_get_num_procs
13 paddle::framework::SignalHandle(char const*, int)
14 paddle::platform::GetCurrentTraceBackStringabi:cxx11
Error Message Summary:
FatalError:
Process abort signal
is detected by the operating system.[TimeInfo: *** Aborted at 1614071888 (unix time) try "date -d @1614071888" if you are using GNU date ***]
[SignalInfo: *** SIGABRT (@0x3e800004f66) received by PID 20326 (TID 0x7f47b3388740) from PID 20326 ***]
PaddleOCR]$ python3 tools/infer/predict_det.py --det_algorithm="EAST" --image_dir="./doc/imgs_en/img_10.jpg" --det_model_dir="./inference/det_east/"
E0223 11:11:13.839426 1281 analysis_config.cc:78] Please compile with gpu to EnableGpu()
OMP: Error #15: Initializing libiomp5.so, but found libiomp5.so already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
C++ Traceback (most recent call last):
0 paddle::AnalysisPredictor::ZeroCopyRun()
1 paddle::framework::NaiveExecutor::Run()
2 paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, paddle::platform::Place const&)
3 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, paddle::platform::Place const&) const
4 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, paddle::platform::Place const&, paddle::framework::RuntimeContext*) const
5 std::_Function_handler<void (paddle::framework::ExecutionContext const&), paddle::framework::OpKernelRegistrarFunctor<paddle::platform::CPUPlace, false, 0ul, paddle::operators::GemmConvKernel<paddle::platform::CPUDeviceContext, float>, paddle::operators::GemmConvKernel<paddle::platform::CPUDeviceContext, double> >::operator()(char const*, char const*, int) const::{lambda(paddle::framework::ExecutionContext const&)#1}>::_M_invoke(std::_Any_data const&, paddle::framework::ExecutionContext const&)
6 paddle::operators::GemmConvKernel<paddle::platform::CPUDeviceContext, float>::Compute(paddle::framework::ExecutionContext const&) const
7 void paddle::operators::math::Blaspaddle::platform::CPUDeviceContext::MatMul(paddle::framework::Tensor const&, bool, paddle::framework::Tensor const&, bool, float, paddle::framework::Tensor*, float) const
8 cblas_sgemm
9 sgemm
10 mkl_blas_sgemm
11 mkl_serv_get_num_stripes
12 omp_get_num_procs
13 paddle::framework::SignalHandle(char const*, int)
14 paddle::platform::GetCurrentTraceBackStringabi:cxx11
Error Message Summary:
FatalError:
Process abort signal
is detected by the operating system.[TimeInfo: *** Aborted at 1614049874 (unix time) try "date -d @1614049874" if you are using GNU date ***]
[SignalInfo: *** SIGABRT (@0x3e800000501) received by PID 1281 (TID 0x7f0436df8740) from PID 1281 ***]
已放弃(吐核)
The text was updated successfully, but these errors were encountered: