PaddlePaddle / PaddlePaddle/FastDeploy

Paddle2Onnx不支持转换量化后的模型

Open
#1,740 4 comments 0 reactions 1 assignee View on GitHub

@Zheng-Bicheng is already working on this.

Since Apr 25, 2023.

Dominant language
Python
Stars
3.7k
Forks
756
Avg merge
19h 28m
Merged PRs (30d)
4

Description

  • 【FastDeploy版本】: fastdeploy-python 0.0.0

  • 【编译命令】瑞芯微 RK3588编译命令

  • 【系统平台】: Linux x64(Ubuntu 18.04)

  • 【硬件】:瑞芯微RK3588S

  • 【编译语言】:Python 3.8.16

  • 【模型无法转换】

  • 运行命令:
    paddle2onnx --model_dir ch_PP-OCRv3_det_infer
    --model_filename inference.pdmodel
    --params_filename inference.pdiparams
    --save_file ch_PP-OCRv3_det_infer/ch_PP-OCRv3_det_infer.onnx
    --enable_dev_version True

  • 报错信息:
    [Paddle2ONNX] Start to parse PaddlePaddle model...
    [Paddle2ONNX] Model file path: ch_PP-OCRv3_det_infer/inference.pdmodel
    [Paddle2ONNX] Paramters file path: ch_PP-OCRv3_det_infer/inference.pdiparams
    [Paddle2ONNX] Start to parsing Paddle model...
    [Paddle2ONNX] [Info] The Paddle model is a quantized model.
    [Paddle2ONNX] Oops, there are some operators not supported yet, including fake_channel_wise_quantize_dequantize_abs_max,fake_quantize_dequantize_moving_average_abs_max,
    [ERROR] Due to the unsupported operators, the conversion is aborted.
    Aborted (core dumped)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.