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

预测结果显示背景是1, 分割区域是0 #25

Open
zhouwenqiong opened this issue Feb 24, 2022 · 2 comments
Open

预测结果显示背景是1, 分割区域是0 #25

zhouwenqiong opened this issue Feb 24, 2022 · 2 comments

Comments

@zhouwenqiong
Copy link

麻烦问一下为什么按照您的步骤最后预测处理的结果和真实标签0 1 是刚好相反的,没有改动代码,如果您看到希望能收到您的回信

@zhouwenqiong zhouwenqiong changed the title 预测结果显示背景是1, 分割区域是1 预测结果显示背景是1, 分割区域是0 Feb 24, 2022
@maosaomi
Copy link

麻烦问一下为什么按照您的步骤最后预测处理的结果和真实标签0 1 是刚好相反的,没有改动代码,如果您看到希望能收到您的回信

请问您解决了吗 我也是这样的问题

@SuperBianC
Copy link

麻烦问一下为什么按照您的步骤最后预测处理的结果和真实标签0 1 是刚好相反的,没有改动代码,如果您看到希望能收到您的回信

you need to change the code: liver_seg = measure.label(liver_seg, 4) to liver_seg = measure.label(liver_seg, connectivity=2)
It will work. That's because the package measure has been updated, and the parameters were changed.

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

3 participants