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

推理类别框的颜色如何统一对应 #342

Open
todesti2 opened this issue Feb 20, 2024 · 4 comments
Open

推理类别框的颜色如何统一对应 #342

todesti2 opened this issue Feb 20, 2024 · 4 comments

Comments

@todesti2
Copy link

您好,我发现推理图片中,,每次推理出的图片同一类别总是对应不同的颜色,而且颜色非常不方便分辨,代码我看了不知道如何改,请您指教

@rentainhe
Copy link
Collaborator

你的需求是相同类别的框使用同一个颜色吗

@todesti2
Copy link
Author

你的需求是相同类别的框使用同一个颜色吗

是的!一个类别对应指定的一种颜色

@rentainhe
Copy link
Collaborator

rentainhe commented Feb 23, 2024

你的需求是相同类别的框使用同一个颜色吗

是的!一个类别对应指定的一种颜色

可以考虑用supervision这个库,实现一下,d2下的random color我们这边有时间再去check一下

这个repo的可视化是同样颜色的

@todesti2
Copy link
Author

todesti2 commented Feb 25, 2024 via email

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