使用paddle模型预测时,总是提示进程被KILL掉,
Created by: Hi-ylf
-
版本、环境信息: PaddlePaddle版本:1.8.1,python3.6环境,linux 执行paddle的时候,遇到一个特别奇怪的错误,只运行执行函数A,结果正常,如果在A后再运行B的话,就会报错了。A和B单独执行都正常,如果 我用在调试模式下进行,这整个流程都没问题。所以问题到底是什么呢???
2020-07-01 19:16:49,783-WARNING: variable file [ ./script/model_files/simnet_bow_pairwise_pretrained_model/model ./script/model_files/simnet_bow_pairwise_pretrained_model/info.yml ] not used OMP: Error #15: Initializing libomp.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://openmp.llvm.org/ W0701 19:16:50.744439 15477 init.cc:216] Warning: PaddlePaddle catches a failure signal, it may not work properly W0701 19:16:50.744503 15477 init.cc:218] You could check whether you killed PaddlePaddle thread/process accidentally or report the case to PaddlePaddle W0701 19:16:50.744510 15477 init.cc:221] The detail failure signal is:
W0701 19:16:50.744521 15477 init.cc:224] *** Aborted at 1593602210 (unix time) try "date -d @1593602210" if you are using GNU date *** W0701 19:16:50.746780 15477 init.cc:224] PC: @ 0x0 (unknown) W0701 19:16:50.746992 15477 init.cc:224] *** SIGABRT (@0x3f000003c75) received by PID 15477 (TID 0x7fb653a71740) from PID 15477; stack trace: *** W0701 19:16:50.748991 15477 init.cc:224] @ 0x7fb6531505e0 (unknown) W0701 19:16:50.751093 15477 init.cc:224] @ 0x7fb6524a21f7 __GI_raise W0701 19:16:50.753136 15477 init.cc:224] @ 0x7fb6524a38e8 __GI_abort W0701 19:16:50.755003 15477 init.cc:224] @ 0x7fb649ad3409 __kmp_abort_process W0701 19:16:50.756867 15477 init.cc:224] @ 0x7fb649ad1aa6 __kmp_fatal W0701 19:16:50.758623 15477 init.cc:224] @ 0x7fb649ad693b __kmp_register_library_startup() W0701 19:16:50.760326 15477 init.cc:224] @ 0x7fb649ad6972 __kmp_do_serial_initialize() W0701 19:16:50.762022 15477 init.cc:224] @ 0x7fb649ad6fc5 __kmp_do_middle_initialize() W0701 19:16:50.763746 15477 init.cc:224] @ 0x7fb649ad7210 __kmp_middle_initialize W0701 19:16:50.765491 15477 init.cc:224] @ 0x7fb649b2ed17 __kmp_api_omp_get_max_threads W0701 19:16:50.766810 15477 init.cc:224] @ 0x7fb5e4f62004 faiss::knn_L2sqr() W0701 19:16:50.768106 15477 init.cc:224] @ 0x7fb5e4ebe612 faiss::IndexFlat::search() W0701 19:16:50.769393 15477 init.cc:224] @ 0x7fb5e4eca059 faiss::IndexIVF::search() W0701 19:16:50.770663 15477 init.cc:224] @ 0x7fb5e4f08830 faiss::IndexIDMapTemplate<>::search() W0701 19:16:50.771896 15477 init.cc:224] @ 0x7fb5e5099970 _wrap_IndexIDMap_search W0701 19:16:50.773838 15477 init.cc:224] @ 0x7fb653420429 _PyCFunction_FastCallDict W0701 19:16:50.775615 15477 init.cc:224] @ 0x7fb6534a5b8c call_function W0701 19:16:50.777436 15477 init.cc:224] @ 0x7fb6534a8d40 _PyEval_EvalFrameDefault W0701 19:16:50.779109 15477 init.cc:224] @ 0x7fb6534a3514 _PyFunction_FastCall W0701 19:16:50.780776 15477 init.cc:224] @ 0x7fb6534a5c88 call_function W0701 19:16:50.782538 15477 init.cc:224] @ 0x7fb6534a8d40 _PyEval_EvalFrameDefault W0701 19:16:50.784210 15477 init.cc:224] @ 0x7fb6534a4100 _PyEval_EvalCodeWithName W0701 19:16:50.785877 15477 init.cc:224] @ 0x7fb6534a5b2a call_function W0701 19:16:50.787592 15477 init.cc:224] @ 0x7fb6534a8d40 _PyEval_EvalFrameDefault W0701 19:16:50.789170 15477 init.cc:224] @ 0x7fb6534a3514 _PyFunction_FastCall W0701 19:16:50.790745 15477 init.cc:224] @ 0x7fb6534a5c88 call_function W0701 19:16:50.792412 15477 init.cc:224] @ 0x7fb6534a8d40 _PyEval_EvalFrameDefault W0701 19:16:50.793987 15477 init.cc:224] @ 0x7fb6534a4100 _PyEval_EvalCodeWithName W0701 19:16:50.795680 15477 init.cc:224] @ 0x7fb6534a4583 PyEval_EvalCodeEx W0701 19:16:50.797349 15477 init.cc:224] @ 0x7fb6534a45cb PyEval_EvalCode W0701 19:16:50.798952 15477 init.cc:224] @ 0x7fb6534d6ee0 PyRun_FileExFlags W0701 19:16:50.800555 15477 init.cc:224] @ 0x7fb6534d84a3 PyRun_SimpleFileExFlags Aborted