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

GitHub | mschaars | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MultiLayerNetwork: Updating with external loss seems broken for RMSProp

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

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

    GitHub | 7 months ago | SRTjiawei
    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
      BaseUpdater.update
      1. org.deeplearning4j.nn.updater.BaseUpdater.update(BaseUpdater.java:78)
      1 frame
    4. value_functions
      NAFNetwork.update
      1. value_functions.NAFNetwork.update(NAFNetwork.java:172)
      1 frame
    5. rl_agents
      NAFAgent.executeStep
      1. rl_agents.NAFAgent.computeLoss(NAFAgent.java:183)
      2. rl_agents.NAFAgent.executeStep(NAFAgent.java:105)
      2 frames
    6. Unknown
      NAFPerformanceTest.testFullSteps
      1. NAFPerformanceTest.testFullSteps(NAFPerformanceTest.java:76)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    8. JUnit
      JUnitCore.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      6. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      14. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      15. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      15 frames
    9. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
      2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
      2 frames
    10. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:253)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:84)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    12. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame