zoukankan      html  css  js  c++  java
  • 《梯度下降法的步长到底怎么确定?》

    一张图搞定人生系列:

     

     

    1, 看趋势(图2)

    loss往上走甚至产生小山包(黄线) or 下降的特别急(绿线), 后几个epoch没变化, lr过高, 调低。

     

    绿线还可以考虑lr decay

     

    loss趋近于线性(蓝线), lr过低, 调高。

     

    2, 看震荡(图1)

    loss波动的很厉害, 略微略微(强调!!!)调低lr.

     

    3, 以图二为主。

  • 相关阅读:
    C open fopen read fread
    图像混合模式算法
    高级API和低级API
    strcpy_s与strcpy
    IsPowerOfTwo
    透明度算法
    POJ 2240(bellman_ford)
    POJ 1797(dijkstra)
    【转载】POJ 图论题目列表
    POJ 1502(Floyd)
  • 原文地址:https://www.cnblogs.com/cx2016/p/13328493.html
Copyright © 2011-2022 走看看