Skip to content

Coverting Modnet model for paddlelite gives Check failed: is_dispensable || is_have_output: Error #3477

Closed
@munibkhanali

Description

问题确认 Search before asking

Bug描述 Describe the Bug

I downloaded the Modnet model for the image matting and followed the instructions described in the tutorials to convert it into paddlelite compatible model.

But paddle_lite_opt gives me the following error.
**Loading topology data from output/export/model.pdmodel
Loading params data from output/export/model.pdiparams

  1. Model is successfully loaded!
    [F 8/29 10:41:27.704 /island/Paddle-Lite/lite/core/op_lite.cc AttachOutput:176] Check failed: is_dispensable || is_have_output:**

I have created Colab Notebook to reproduce this issue

Similar instructions work fine PP-Matting-512

复现环境 Environment

platform: Linux-5.15.109+-x86_64-with-glibc2.35
Python: 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Paddle compiled with cuda: False
GCC: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
PaddleSeg: 2.8.0
PaddlePaddle: 2.5.1
OpenCV: 4.5.5
Paddlelite: 2.13rc0

Bug描述确认 Bug description confirmation

  • 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.

是否愿意提交PR? Are you willing to submit a PR?

  • 我愿意提交PR!I'd like to help by submitting a PR!

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions