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

训练hierarchical classifier with HMCN应该如何修改分类的层级 #122

Open
Walker-DJ1 opened this issue Jan 25, 2024 · 1 comment

Comments

@Walker-DJ1
Copy link

原始文件中配置如下:"HMCN": {"hierarchical_depth": [0, 384, 384, 384, 384],"global2local": [0, 4, 55, 43, 1]},假设用户的分层只有两层,应该如何配置分层深度的大小和全局到局部的尺寸?

@MagiaSN
Copy link
Collaborator

MagiaSN commented Jul 25, 2024

hierarchical_depth是模型超参数,列表长度=标签层数+1,第一个元素固定为0,其他可以自行设置;global2local第一个元素固定为0,其他元素是每一层标签的数量

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