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

关于在yolov2上使用的问题? #32

Open
SyGoing opened this issue Jul 31, 2019 · 0 comments
Open

关于在yolov2上使用的问题? #32

SyGoing opened this issue Jul 31, 2019 · 0 comments

Comments

@SyGoing
Copy link

SyGoing commented Jul 31, 2019

我用你的代码在yolov2稀疏化训练时(yolov2 608输入,两类目标),
1)报错提示:
损失非常大,然后崩了,梯度爆炸。还有就是utils.py里的build_targets 提示index=19 in dimension 3 超过边界。
2)源码yolomodel.py中
self.losses["recall"] /= 3
self.losses["precision"] /= 3
为什么要除于3,是因为yolov3有三个输出层么? 那么yolov2的话是不是需要修改呢

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

1 participant