PaddlePaddle / Paddle3D

A 3D computer vision development toolkit based on PaddlePaddle. It supports point-cloud object detection, segmentation, and monocular 3D object detection models.
Apache License 2.0
565 stars 140 forks source link

paddle2onnx报好多算子不支持??? #460

Open wanzghen0123 opened 5 months ago

wanzghen0123 commented 5 months ago

Paddle2ONNX下执行: paddle2onnx --model_dir output/epoch_30/ --model_filename centerpoint.pdmodel --params_filename centerpoint.pdiparams --save_file centerpoint.onnx 报错如下: [Paddle2ONNX] Oops, there are some operators not supported yet, including centerpoint_postprocess,conditional_block,hard_voxelize,select_input, [ERROR] Due to the unsupported operators, the conversion is aborted. 请问怎么解决???

LielinJiang commented 5 months ago

hard_voxelize,这个算子可以使用custom op代替,然后自行在onnx或TRT中实现对应的plugin,其余的condition block等算子就是不支持的,需要使用其他代替方式实现网络