Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReduceMin is created even though only Min is used #1479

Open
nicklasb opened this issue Jan 16, 2025 · 0 comments
Open

ReduceMin is created even though only Min is used #1479

nicklasb opened this issue Jan 16, 2025 · 0 comments

Comments

@nicklasb
Copy link

nicklasb commented Jan 16, 2025

Problem description:
Paddle2ONNX creates ReduceMin ops (which currently aren't supported by the destination platform) .
This even though only Min is used by the Paddle model as verified in Netron.
(Avoided ReduceMin by running PaddleDetection PIR mode).

  • Architecture: PicoDet

    • backbone: LCNet
    • neck: LCPAN
    • head: PicoHeadV2
  • act: set to Relu6 everywhere*

* Note that I had to patch PaddleDetection for it to stick to Relu6 for ESP-DL compatibility reasons.

More information:

  • Inference engine for deployment:
    ESP-DL

  • Why it needs to be converted to ONNX format:
    See above.

  • Paddle2ONNX version:
    paddle2onnx-1.3.1 with python>=3.8, paddlepaddle>=2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant