PaddleDetection infer时候出错
Created by: dbcool
您好,我在进行paddle检测的infer时候, 在运行 outs = exe.run(infer_prog, feed=feeder.feed(data), fetch_list=values, return_numpy=False) 这一行的时候出错: Traceback (most recent call last): File "tools/infer_video.py", line 442, in main() File "tools/infer_video.py", line 316, in main return_numpy=False) File "/usr/local/lib/python2.7/dist-packages/paddle/fluid/executor.py", line 650, in run use_program_cache=use_program_cache) File "/usr/local/lib/python2.7/dist-packages/paddle/fluid/executor.py", line 748, in run exe.run(program.desc, scope, 0, True, True, fetch_var_name) paddle.fluid.core_avx.EnforceNotMet: Invoke operator multiclass_nms error. Python Callstacks: File "/usr/local/lib/python2.7/dist-packages/paddle/fluid/framework.py", line 1748, in append_op attrs=kwargs.get("attrs", None)) File "/usr/local/lib/python2.7/dist-packages/paddle/fluid/layer_helper.py", line 43, in append_op return self.main_program.current_block().append_op(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/paddle/fluid/layers/detection.py", line 2771, in multiclass_nms outputs={'Out': output}) File "/home/daibing/baidu_daibing/cncert-source/logo_detection/ppdet/core/workspace.py", line 95, in partial_apply return op(*args, **kwargs) File "/home/daibing/baidu_daibing/cncert-source/logo_detection/ppdet/modeling/roi_heads/bbox_head.py", line 300, in get_prediction pred_result = self.nms(bboxes=cliped_box, scores=cls_prob) File "/home/daibing/baidu_daibing/cncert-source/logo_detection/ppdet/modeling/architectures/faster_rcnn.py", line 120, in build im_shape) File "/home/daibing/baidu_daibing/cncert-source/logo_detection/ppdet/modeling/architectures/faster_rcnn.py", line 130, in test return self.build(feed_vars, 'test') File "tools/infer_video.py", line 257, in main test_fetches = model.test(feed_vars) File "tools/infer_video.py", line 442, in main() C++ Callstacks: Enforce failed. Expected begin_idx < end_idx, but received begin_idx:103 >= end_idx:103. The start row index must be lesser than the end row index. at [/paddle/paddle/fluid/framework/tensor.cc:78] PaddlePaddle Call Stacks: