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

获取HRSC2016数据集mask时出现错误 #41

Open
lsj1111 opened this issue Jan 12, 2025 · 6 comments
Open

获取HRSC2016数据集mask时出现错误 #41

lsj1111 opened this issue Jan 12, 2025 · 6 comments

Comments

@lsj1111
Copy link

lsj1111 commented Jan 12, 2025

image
在加在HRSC标签时为什么要判断color_list是否为3,但是HRSC数据集的真值本来就不为3,可以详细解释一下吗
image

@DotWang
Copy link
Collaborator

DotWang commented Jan 12, 2025

@lsj1111 这个是HRSC2016带颜色那个标签吧,颜色是RGB三个值组成的list吧,时间太久了为啥要判断我忘了,有可能是除了RGB还多了个透明度值?但是我知道那个带颜色的标签是三通道的,所以这里是要取出那个颜色

@DotWang
Copy link
Collaborator

DotWang commented Jan 12, 2025

@lsj1111 我看了一下代码,这个好像是从xml文件中获得的,得结合文件格式来看

@lsj1111
Copy link
Author

lsj1111 commented Jan 12, 2025

@lsj1111 我看了一下代码,这个好像是从xml文件中获得的,得结合文件格式来看

但是从xml注释文件来看,seg_color的值好像都是空
d81f65ababb8c2f68ee34ae15a9d030

@lsj1111
Copy link
Author

lsj1111 commented Jan 12, 2025

使我感到困惑的是为什么要关注color_list,想要得到每个物体的掩码,不是应该通过bbox作为提示吗,为啥需要color_list?

@DotWang
Copy link
Collaborator

DotWang commented Jan 12, 2025

@lsj1111 color是可视化时候用的

@DotWang
Copy link
Collaborator

DotWang commented Jan 12, 2025

@lsj1111 哦我想起来了,只有测试集里边的124张图像有分割掩码,这个我在文中应该提了

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