问题描述
(pp) PS D:\PaddleClas\deploy> paddle2onnx --model_dir=./models/picodet_PPLCNet_x2_5_mainbody_lite_v1.0_infer/ --model_filename=inference.pdmodel --params_filename=inference.pdiparams --save_file=./models/picodet_PPLCNet_x2_5_mainbody_lite_v1.0_infer/inference.onnx --opset_version=10 --enable_onnx_checker=True
[Paddle2ONNX] Start to parse PaddlePaddle model...
[Paddle2ONNX] Model file path: ./models/picodet_PPLCNet_x2_5_mainbody_lite_v1.0_infer/inference.pdmodel
[Paddle2ONNX] Paramters file path: ./models/picodet_PPLCNet_x2_5_mainbody_lite_v1.0_infer/inference.pdiparams
[Paddle2ONNX] Start to parsing Paddle model...
[Paddle2ONNX] LodTensorArray is not supported.
[Paddle2ONNX] Oops, there are some operators not supported yet, including conditional_block,lod_array_length,reverse,select_input,tensor_array_to_tensor,while,write_to_array,
[ERROR] Due to the unsupported operators, the conversion is aborted.
请将下面信息填写完整,便于我们快速解决问题,谢谢! pp-shitu主体检测模型转onnx,提示有算子不支持。
问题描述 (pp) PS D:\PaddleClas\deploy> paddle2onnx --model_dir=./models/picodet_PPLCNet_x2_5_mainbody_lite_v1.0_infer/ --model_filename=inference.pdmodel --params_filename=inference.pdiparams --save_file=./models/picodet_PPLCNet_x2_5_mainbody_lite_v1.0_infer/inference.onnx --opset_version=10 --enable_onnx_checker=True [Paddle2ONNX] Start to parse PaddlePaddle model... [Paddle2ONNX] Model file path: ./models/picodet_PPLCNet_x2_5_mainbody_lite_v1.0_infer/inference.pdmodel [Paddle2ONNX] Paramters file path: ./models/picodet_PPLCNet_x2_5_mainbody_lite_v1.0_infer/inference.pdiparams [Paddle2ONNX] Start to parsing Paddle model... [Paddle2ONNX] LodTensorArray is not supported. [Paddle2ONNX] Oops, there are some operators not supported yet, including conditional_block,lod_array_length,reverse,select_input,tensor_array_to_tensor,while,write_to_array, [ERROR] Due to the unsupported operators, the conversion is aborted.
更多信息 :
报错截图
其他信息