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

自动压缩中的蒸馏损失为多个时,配置文件要怎么设置? #1827

Closed
Wst-sd opened this issue Jan 2, 2024 · 2 comments
Closed
Assignees

Comments

@Wst-sd
Copy link

Wst-sd commented Jan 2, 2024

提问
我想在蒸馏中同时使用soft_label,和l2loss ,节点添加了4个(两组),但是尝试了修改配置文件用loss: [soft_label,l2] 和loss: soft_label, l2 均报错,请问正确的格式是怎么样的?

@ceci3 ceci3 self-assigned this Feb 6, 2024
@ceci3
Copy link
Contributor

ceci3 commented Feb 6, 2024

同一个node不支持多个loss,不同的node的话,需要node个数和loss个数相同,都是list格式

@Wst-sd
Copy link
Author

Wst-sd commented Feb 6, 2024

好的,谢谢

@Wst-sd Wst-sd closed this as completed Feb 6, 2024
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