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

人像分割demo, 在把demo的model换成了hrnet_w18.nb后输出图像显示失败 #349

Open
badboy-tian opened this issue Mar 14, 2023 · 2 comments

Comments

@badboy-tian
Copy link

https://github.com/PaddlePaddle/Paddle-Lite-Demo/blob/develop/human_segmentation/ios/human_segmentation/human_segmentation/ViewController.mm

输入图:
image

换model之前输出图:
IMG_F618724199E9-1

huan'c换成hrnet_w18.nb后, 输入改成1,3,512,512
输出图:
image

@astraylinux
Copy link

我也遇到一样的问题,还有在维护嘛 - -

@WeinanHu
Copy link

与后续output的处理有关,我直接往human_segmentation的android工程中替换安卓的model.nb为hrnet_w18.nb,直接会闪退;
目前paddlepaddle的human_segmentation这个demo可以在android和iOS上都正常运行;但是模型改了后都会跑不了;
https://github.com/PaddlePaddle/Paddle-Lite-Demo/blob/develop/human_segmentation

如果换成hrnet_w18.nb,要用另一个demo跑,但是这个demo只有android的,,如果iOS跑需要自己模仿android的demo改后续的output部分。我也新手,难以入手修改
https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.9/Matting/deploy/human_matting_android_demo

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

3 participants