java.lang.IllegalStateException: Updater has not been initialized with view state

GitHub | SRTjiawei | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.IllegalStateException: Updater has not been initialized with view state

    GitHub | 8 months ago | SRTjiawei
    java.lang.IllegalStateException: Updater has not been initialized with view state
  2. 0

    MultiLayerNetwork: Updating with external loss seems broken for RMSProp

    GitHub | 9 months ago | mschaars
    java.lang.IllegalStateException: Updater has not been initialized with view state

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Updater has not been initialized with view state

      at org.nd4j.linalg.learning.RmsProp.getGradient()
    2. nd4j-api
      RmsProp.getGradient
      1. org.nd4j.linalg.learning.RmsProp.getGradient(RmsProp.java:56)
      1 frame
    3. org.deeplearning4j.nn
      ComputationGraphUpdater.update
      1. org.deeplearning4j.nn.updater.BaseUpdater.update(BaseUpdater.java:78)
      2. org.deeplearning4j.nn.updater.graph.ComputationGraphUpdater.update(ComputationGraphUpdater.java:135)
      2 frames
    4. org.deeplearning4j.optimize
      Solver.optimize
      1. org.deeplearning4j.optimize.solvers.BaseOptimizer.updateGradientAccordingToParams(BaseOptimizer.java:282)
      2. org.deeplearning4j.optimize.solvers.BaseOptimizer.gradientAndScore(BaseOptimizer.java:155)
      3. org.deeplearning4j.optimize.solvers.StochasticGradientDescent.optimize(StochasticGradientDescent.java:54)
      4. org.deeplearning4j.optimize.Solver.optimize(Solver.java:51)
      4 frames
    5. org.deeplearning4j.nn
      ComputationGraph.fit
      1. org.deeplearning4j.nn.graph.ComputationGraph.fit(ComputationGraph.java:769)
      2. org.deeplearning4j.nn.graph.ComputationGraph.fit(ComputationGraph.java:737)
      2 frames