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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by SRTjiawei
, 1 year ago
via GitHub by mschaars
, 1 year ago
Updater has not been initialized with view state
java.lang.IllegalStateException: Updater has not been initialized with view state
at org.deeplearning4j.nn.updater.BaseUpdater.update(BaseUpdater.java:78)
at org.deeplearning4j.nn.updater.graph.ComputationGraphUpdater.update(ComputationGraphUpdater.java:135)
at org.deeplearning4j.optimize.solvers.BaseOptimizer.updateGradientAccordingToParams(BaseOptimizer.java:282)
at org.deeplearning4j.optimize.solvers.BaseOptimizer.gradientAndScore(BaseOptimizer.java:155)
at org.deeplearning4j.optimize.solvers.StochasticGradientDescent.optimize(StochasticGradientDescent.java:54)
at org.deeplearning4j.optimize.Solver.optimize(Solver.java:51)
at org.deeplearning4j.nn.graph.ComputationGraph.fit(ComputationGraph.java:769)
at org.deeplearning4j.nn.graph.ComputationGraph.fit(ComputationGraph.java:737)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.