java.lang.IllegalStateException

Cannot do forward pass: inputs not set

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18930

  • Cannot do forward pass: inputs not set
  • Cannot do backward pass: error not set
  • via permadi.com by Unknown author, 11 months ago
    inputs not set
  • Stack trace

    • java.lang.IllegalStateException: Cannot do forward pass: inputs not set at org.deeplearning4j.nn.graph.vertex.impl.MergeVertex.doForward(MergeVertex.java:77) at org.deeplearning4j.nn.graph.ComputationGraph.feedForward(ComputationGraph.java:984) at org.deeplearning4j.nn.graph.ComputationGraph.computeGradientAndScore(ComputationGraph.java:890) at org.deeplearning4j.optimize.solvers.BaseOptimizer.gradientAndScore(BaseOptimizer.java:152) 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) at org.deeplearning4j.nn.graph.ComputationGraph.fit(ComputationGraph.java:612) at imagenet.ImageNetMain.main(ImageNetMain.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.