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

你好,感谢分享demo。训练单类行为数据时,loss_cls一直未0正常吗。推理视频时检不出行为。 #8

Open
Eatzhy opened this issue Dec 12, 2022 · 1 comment

Comments

@Eatzhy
Copy link

Eatzhy commented Dec 12, 2022

No description provided.

@yjh0410
Copy link
Owner

yjh0410 commented Dec 12, 2022

@Eatzhy loss_cls=0是正常的,因为只有一个类别,那么softmax输出就是1,所以loss肯定是0的,所以,只有一个类别的时候,其实我们可以把cls预测注释掉,因为它没什么用,当然保留也是没问题的,反正loss都是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