java.lang.IllegalStateException: Cannot do forward pass: inputs not set

GitHub | BDUG | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.IllegalStateException

    Cannot do forward pass: inputs not set

    at org.deeplearning4j.nn.graph.vertex.impl.MergeVertex.doForward()
  2. org.deeplearning4j.nn
    ComputationGraph.computeGradientAndScore
    1. org.deeplearning4j.nn.graph.vertex.impl.MergeVertex.doForward(MergeVertex.java:77)
    2. org.deeplearning4j.nn.graph.ComputationGraph.feedForward(ComputationGraph.java:984)
    3. org.deeplearning4j.nn.graph.ComputationGraph.computeGradientAndScore(ComputationGraph.java:890)
    3 frames
  3. org.deeplearning4j.optimize
    Solver.optimize
    1. org.deeplearning4j.optimize.solvers.BaseOptimizer.gradientAndScore(BaseOptimizer.java:152)
    2. org.deeplearning4j.optimize.solvers.StochasticGradientDescent.optimize(StochasticGradientDescent.java:54)
    3. org.deeplearning4j.optimize.Solver.optimize(Solver.java:51)
    3 frames
  4. 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)
    3. org.deeplearning4j.nn.graph.ComputationGraph.fit(ComputationGraph.java:612)
    3 frames
  5. imagenet
    ImageNetMain.main
    1. imagenet.ImageNetMain.main(ImageNetMain.java:40)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  7. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
    1 frame