box_clip出现段错误
Created by: littletomatodonkey
使用bbox_clip的时候,出现段错误,具体代码如下。
cls_prob = sum(cascade_cls_prob) # shape: (-1, class_num)
# decoded_bbox shape:(-1, clsss_num*4)
decoded_bbox = fluid.layers.reshape(decoded_bbox, shape=(0, cfg.class_num, 4) )
cliped_box = fluid.layers.box_clip( input=decoded_bbox, im_info=self.im_info )
出现段错误
*** Aborted at 1556170041 (unix time) try "date -d @1556170041" if you are using GNU date ***
PC: @ 0x0 (unknown)
*** SIGSEGV (@0xfffffffffffffff0) received by PID 22054 (TID 0x7ff1fc431700) from PID 18446744073709551600; stack trace: ***
@ 0x7ff1fbbe7160 (unknown)
@ 0x7ff1b5011292 paddle::operators::GPUBoxClipKernel<>::Compute()
@ 0x7ff1b50116b3 _ZNSt17_Function_handlerIFvRKN6paddle9framework16ExecutionContextEEZNKS1_24OpKernelRegistrarFunctorINS0_8platform9CUDAPlaceELb0ELm0EJNS0_9operators16GPUBoxClipKernelINS7_17CUDADeviceContextEfEENSA_ISB_dEEEEclEPKcSG_iEUlS4_E_E9_M_invokeERKSt9_Any_dataS4_
@ 0x7ff1b53f1ceb paddle::framework::OperatorWithKernel::RunImpl()
@ 0x7ff1b53f010c paddle::framework::OperatorBase::Run()
@ 0x7ff1b3c0751a paddle::framework::Executor::RunPreparedContext()
@ 0x7ff1b3c094f5 paddle::framework::Executor::Run()
@ 0x7ff1b3ac605b _ZZN8pybind1112cpp_function10initializeIZN6paddle6pybindL18pybind11_init_coreERNS_6moduleEEUlRNS2_9framework8ExecutorERKNS6_11ProgramDescEPNS6_5ScopeEibbE103_vIS8_SB_SD_ibbEINS_4nameENS_9is_methodENS_7siblingEEEEvOT_PFT0_DpT1_EDpRKT2_ENUlRNS_6detail13function_callEE1_4_FUNESV_
@ 0x7ff1b3b0720e pybind11::cpp_function::dispatcher()
@ 0x7ff1fbf0255f PyEval_EvalFrameEx
@ 0x7ff1fbf0486d PyEval_EvalCodeEx
@ 0x7ff1fbf019fc PyEval_EvalFrameEx
@ 0x7ff1fbf0486d PyEval_EvalCodeEx
@ 0x7ff1fbf019fc PyEval_EvalFrameEx
@ 0x7ff1fbf0486d PyEval_EvalCodeEx
@ 0x7ff1fbf019fc PyEval_EvalFrameEx
@ 0x7ff1fbf0486d PyEval_EvalCodeEx
@ 0x7ff1fbf019fc PyEval_EvalFrameEx
@ 0x7ff1fbf01b17 PyEval_EvalFrameEx
@ 0x7ff1fbf0486d PyEval_EvalCodeEx
@ 0x7ff1fbf049a2 PyEval_EvalCode
@ 0x7ff1fbf2d782 PyRun_FileExFlags
@ 0x7ff1fbf2eaf9 PyRun_SimpleFileExFlags
@ 0x7ff1fbf4482d Py_Main
@ 0x7ff1fb141bd5 __libc_start_main
@ 0x4007a1 (unknown)
@ 0x0 (unknown)
Segmentation fault
麻烦帮忙看下,谢谢。