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

loss:Nan #3

Open
YuanZYF opened this issue Nov 18, 2019 · 5 comments
Open

loss:Nan #3

YuanZYF opened this issue Nov 18, 2019 · 5 comments

Comments

@YuanZYF
Copy link

YuanZYF commented Nov 18, 2019

Loss printed out is NAN

@YuanZYF
Copy link
Author

YuanZYF commented Nov 18, 2019

loss刚开始在8-11之间跳动之后一直是nan;该怎么解决呢

@xytpai
Copy link
Owner

xytpai commented Dec 10, 2019

我的代码没有将正例周围的点忽略,所以需要用梯度裁剪,你可以把clip_grad的值调低一点。

@BigDataHa
Copy link

你现在解决了吗?

@YuanZYF
Copy link
Author

YuanZYF commented Feb 4, 2020 via email

@xytpai
Copy link
Owner

xytpai commented Feb 5, 2020

评估指标可以用MSCOCO数据集提供的api,在我的run_cocoeval.py里有,需要按照它的数据格式组织。如果你需要一个粗略的测评方法,可以参照fcos/utils_box/eval_csv.py,使用VOC的测评方法。

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

3 participants