mardi 9 août 2022

onnxruntime session object throwing segementation fault (SIGABRT) in (C++11, compiler version 9.3.0)

I am using onnxruntime to load a onnx model and creating one session object and then passing the parameters. model has 3 input layers and one ouput layer we are trying to pass in batch mode. while passing in batch mode it is working for 7 data in one batch but when we are passing 8 input data it is not working. It is throwing core dump.

'''Aborted at 1660030712 (unix time) try "date -d @1660030712" if you are using GNU date *** PC: @ 0x7f061d6154b7 __GI_raise *** SIGABRT (@0x1a5e6) received by PID 108006 (TID 0x7f0546bbf700) from PID 108006; stack trace: *** @ 0x7f061d9b65c0 (unknown) @ 0x7f061d6154b7 __GI_raise @ 0x7f061d616ba8 __GI_abort @ 0x555724d68798 _ZN9__gnu_cxx27__verbose_terminate_handlerEv.cold @ 0x55572566d9b6 __cxxabiv1::__terminate() @ 0x55572566da21 std::terminate() @ 0x55572566db74 __cxa_throw @ 0x7f0620053383 Ort::ThrowOnError() @ 0x7f0620053405 Ort::ThrowOnError() @ 0x7f0620053a90 Ort::Session::Run() @ 0x7f06200539b5 Ort::Session::Run() @ 0x7f062006fe69 Rerank::Strategy::ModelDcnKdCtr::GetCtrResult() @ 0x7f06200006c2 Rerank::Strategy::CtrStrategy::Rank() @ 0x7f062013a626 _ZZNK6Rerank11StrategyMgr12ParallelRankERKNS_9RankInputEPNS_12KeyValueListEENKUlvE_clEv @ 0x7f06201400a6 _ZNSt17_Function_handlerIFivEZNK6Rerank11StrategyMgr12ParallelRankERKNS1_9RankInputEPNS1_12KeyValueListEEUlvE_E9_M_invokeERKSt9_Any_data @ 0x7f061df79a73 std::function<>::operator()() @ 0x7f061df94182 ZSt13__invoke_implIiRSt8functionIFivEEJEET_St14__invoke_otherOT0_DpOT1 @ 0x7f061df93bbc ZSt8__invokeIRSt8functionIFivEEJEENSt15__invoke_resultIT_JDpT0_EE4typeEOS5_DpOS6 @ 0x7f061df931eb _ZNSt5_BindIFSt8functionIFivEEvEE6__callIiJEJEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE @ 0x7f061df92707 ZNSt5_BindIFSt8functionIFivEEvEEclIJEiEET0_DpOT

Aucun commentaire:

Enregistrer un commentaire