fcos icon indicating copy to clipboard operation
fcos copied to clipboard

loss:Nan

Open YuanZYF opened this issue 5 years ago • 5 comments

Loss printed out is NAN

YuanZYF avatar Nov 18 '19 08:11 YuanZYF

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

YuanZYF avatar Nov 18 '19 08:11 YuanZYF

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

xytpai avatar Dec 10 '19 05:12 xytpai

你现在解决了吗?

BigDataHa avatar Jan 14 '20 10:01 BigDataHa

xintao:    新年好! 抱歉新年来打扰您。我目前在跑EDVR这个模型、能成功的用自己的数据训练并且得出看着不错的效果。我这里有几个疑问就是:1.这个模型需要用大量的数据(2.8T)来训练吗?2.预测出来的图片有什么评估指标吗?

------------------ Original ------------------ From: Xin Tao <[email protected]> Date: Tue,Jan 14,2020 6:36 PM To: xytpai/fcos <[email protected]> Cc: YuanZYF <[email protected]>, Author <[email protected]> Subject: Re: [xytpai/fcos] loss:Nan (#3)

你现在解决了吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

YuanZYF avatar Feb 04 '20 02:02 YuanZYF

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

xytpai avatar Feb 05 '20 06:02 xytpai