jks88990041
jks88990041
> hello, When i train your model on VOC2007, the loss is NAN frequently, can you tell me how to solve it ? thank you very much 大连的兄弟。你解决这个NAN的问题了么,求赐教。
> Hello Chentingkai, > > I too faced the same problem. But, then I wrote my own code. This happens because the loss function calculation goes out of range. Try...
调整学习率为 0.00001后 没有NaN情况了。 但是模型感觉从一开始loss就很小,后面一直就在反复横跳
好的谢谢大佬。 就有点不明白的地方就是,大佬你给的最佳参数 我测试图片的时候效果不是很好哎。还有就是这个NaN的问题,不知是不是网络结构有的地方有小问题, 导致梯度爆炸的情况。 = = 目前没找着阿我。
你好 我想问一下 就是这个训练收敛的并不好。 并且我在网络中并没有看到leaky relu函数呢。 = =接受有偿回答。
不好意思 我看到了 conv = tf.maximum(self.alpha * conv, conv) 确实是leaky的意思 但还是想问下,模型不是很收敛,有出现 NaN的情况 应该怎么解决