leeyoshinari / YOLO_v2

The implementation of YOLO v2 with TensorFlow
GNU General Public License v3.0
80 stars 38 forks source link

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

Open ZhengyuZhang96 opened 5 years ago

ZhengyuZhang96 commented 5 years ago

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

woaipichuli commented 5 years ago

我也遇到相同的问题

QuietDeer commented 5 years ago

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

chentingkai commented 4 years ago

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

QuietDeer commented 4 years ago

我的也是经常出现nan,我后来不做这个了,不过你可以试试加正则化发自我的华为手机-------- 原始邮件 --------发件人: chentingkai notifications@github.com日期: 2019年10月14日周一 19:40收件人: leeyoshinari/YOLO_v2 YOLO_v2@noreply.github.com抄送: QuietDeer E_luning@163.com, Comment comment@noreply.github.com主 题: 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.