2024-12-02
pip install paddle2onnx
paddle2onnx --model_dir ch_PP-OCRv4_det_server_infer --model_filename inference.pdmodel --params_filename inference.pdiparams --save_file ch_PP-OCRv4_det_infer.onnx