PaddleSeg icon indicating copy to clipboard operation
PaddleSeg copied to clipboard

[General Issue]Matting保存结果报错

Open T0L0ve opened this issue 2 years ago • 2 comments

paddlepaddle2.6版本 运行Matting操作流程就和quickstart里的一样,在进行背景替换时会报一个错误 image 我看了下应该是np数组大小不一致导致的。 image 这边fg的大小是(1,1,3)。 然后我在_estimate_fb_ml这个函数里加了个print语句 image 然后代码就正常运行了 image 我不能理解是什么原因导致的

T0L0ve avatar Aug 08 '22 09:08 T0L0ve

看提示是因为输入尺寸不匹配的导致的,确定没有修改过代码吗

wuyefeilin avatar Aug 09 '22 02:08 wuyefeilin

看提示是因为输入尺寸不匹配的导致的,确定没有修改过代码吗

没有修改过,这行print语句是唯一自己写的代码

T0L0ve avatar Aug 09 '22 02:08 T0L0ve

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 05 '22 17:12 github-actions[bot]