MirrorYuChen / Mediapipe-MNN

mediapipe-hand,mediapipe-body,mediapipe-face, mediapipe-embedding, mediapipe-classifier and so on.MNN inference
22 stars 1 forks source link

mediapipe selfsegmentation #2

Closed hsl20130659 closed 1 year ago

hsl20130659 commented 1 year ago

大佬,有空搞个mediapipe selfsegmentation MNN版本啊,Python mediapipe这个人像分割接口存在内存泄露,至今没修复,慎用

MirrorYuChen commented 1 year ago

有时间搞一个玩玩

MirrorYuChen commented 1 year ago

已经添加了哈~

hsl20130659 commented 1 year ago

大佬,你的工程所有模型都是转成fp16,有float32原始模型吗,还有那个selfsegmentation的模型也是mediapipe自带的那个吗?我看名字是deeplab_v3_fp16.mnn

MirrorYuChen commented 1 year ago

原始就是这个,你可以看他的model介绍页

MirrorYuChen commented 1 year ago

fp16和fp32只是存储的不一样而已,实际无差哈

MirrorYuChen commented 1 year ago

https://developers.google.com/mediapipe/solutions/vision/image_segmenter

MirrorYuChen commented 1 year ago

模型是通过运行python版本examples得到的:https://github.com/googlesamples/mediapipe/tree/main/examples/image_segmentation/python

MirrorYuChen commented 1 year ago

image