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

测试时一定要mask吗 #22

Open
ZequanLIU opened this issue Feb 25, 2024 · 1 comment
Open

测试时一定要mask吗 #22

ZequanLIU opened this issue Feb 25, 2024 · 1 comment

Comments

@ZequanLIU
Copy link

请问test的时候跑inference,mask是一定要的吗?还有为什么mask的图像不是二值的,而是RGB格式?

@ShunyuanZheng
Copy link
Collaborator

你好,mask是需要的,需要用mask取出图像的前景部分。mask是三通道的,但是三通道数值是相同的,数值范围的话是0-255的,不是二值的,matting算法得到的结果数值范围就是这样的,不同于分割算法。

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

2 participants