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

推理遇到问题 #29

Open
superlittl opened this issue Dec 23, 2023 · 1 comment
Open

推理遇到问题 #29

superlittl opened this issue Dec 23, 2023 · 1 comment

Comments

@superlittl
Copy link

作者您好,我使用我的训练集进行模型训练一切正常,但在测试的时候遇到了问题。
我的任务和传统的修复有点差别,首先这是我的输入图片:
001 _01
这个是mask:
001 _01
我的意图就是用我的mask能恰好盖住我原始图上的空洞区域,然后进行修复。
但是遇到了问题,发现推理后的图片。并没有识别到我的mask区域,

@liuqk3
Copy link
Owner

liuqk3 commented Dec 25, 2023

感谢关注。代码中根据提供的mask,将白色区域(像素值为255)作为unmask区域,黑色区域(0像素值为0)作为mask区域。你这边的mask应该刚好反过来了。

@liuqk3 liuqk3 mentioned this issue Dec 26, 2023
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