-
Notifications
You must be signed in to change notification settings - Fork 105
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
有些图片抠图时,会返回一张透明的,这种怎么处理 #131
Comments
嗯, 当然也是合理的. 就只是不推荐写在 |
那应该写在什么地方,我如果返回没有前景的,业务会报错。 |
之前吧, 因为如果没有前景物体, 就不用经过refine啦, 逻辑上是这样的吧. |
def has_foreground(pred_pil, threshold=0.5, min_foreground_ratio=0.01):
|
大致是可以的. 当然 |
The text was updated successfully, but these errors were encountered: