twn39 / bshm

BSHM通用抠图

  • Public
  • 556 runs

Run time and cost

This model costs approximately $0.047 to run on Replicate, or 21 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia T4 GPU hardware. Predictions typically complete within 4 minutes. The predict time for this model varies significantly based on the inputs.

Readme

link: https://modelscope.cn/models/damo/cv_unet_universal-matting/summary

模型描述

模型分为粗分割和精细抠图两个子网络,将抠图复杂问题拆解,先粗分割再精细化分割,两部分网络均为unet结构。粗分割网络从输入图片预测粗语义分割mask,精细分割网络基于原图和粗语义分割mask预测精细的抠图结果。 期望模型使用方式以及适用范围

使用方式:

直接推理,输入图像直接进行推理

使用范围:

适合含有主题的图像分割,期望图像中主体占比不要过小
在分辨率小于2000×2000图像上可取得期望效果

目标场景:

需要图像抠图的场景,如换背景等