YOLO_v2 icon indicating copy to clipboard operation
YOLO_v2 copied to clipboard

loss一直不下降,保持在10-20之间

Open ZhengyuZhang96 opened this issue 5 years ago • 4 comments

我是直接注释掉那句导入预训练模型的代码,然后重新训练,loss一直不降保持在10-20之间,而且经常出现loss为nan的情况,学习率、批次数目和优化器都调过,好像没有变化,请问作者是如何将loss训练到0.几的?这个问题困扰了我很久了。。。是有什么特别的训练策略吗?

ZhengyuZhang96 avatar Apr 16 '19 05:04 ZhengyuZhang96

我也遇到相同的问题

woaipichuli avatar Jul 05 '19 09:07 woaipichuli

我也有相同的问题,请问楼主解决了吗?

QuietDeer avatar Jul 20 '19 06:07 QuietDeer

楼主,您好,我在训练的过程当中出现NAN,程序就会停止执行,请问楼主怎么解决呢?

chentingkai avatar Oct 14 '19 11:10 chentingkai

我的也是经常出现nan,我后来不做这个了,不过你可以试试加正则化发自我的华为手机-------- 原始邮件 --------发件人: chentingkai [email protected]日期: 2019年10月14日周一 19:40收件人: leeyoshinari/YOLO_v2 [email protected]抄送: QuietDeer [email protected], Comment [email protected]主 题: Re: [leeyoshinari/YOLO_v2] loss一直不下降,保持在10-20之间 (#30)楼主,您好,我在训练的过程当中出现NAN,程序就会停止执行,请问楼主怎么解决呢?

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

QuietDeer avatar Oct 14 '19 11:10 QuietDeer