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

关于非VOC数据集(医药数据集)标签格式问题 #96

Open
tsieyy opened this issue Apr 22, 2024 · 0 comments
Open

关于非VOC数据集(医药数据集)标签格式问题 #96

tsieyy opened this issue Apr 22, 2024 · 0 comments

Comments

@tsieyy
Copy link

tsieyy commented Apr 22, 2024

作者在 train_medical.py 的注释中说明标签需要将背景像素值设置为0,类别设置为1、2、3.... 等等,我按照作者所说设置之后训练出来就是全黑(predict画出来的为全红),后来尝试了仓库中原本存在的数据集标签的格式,效果良好。即把要分割的目标的像素点设置成0,背景像素值设置为255,标签图最终效果为:目标值为黑色,背景为白色。
多类型分割没有尝试过。

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

1 participant