java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal index 2 out of tads 1

GitHub | s103451 | 6 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

    ConvolutionalIterationListener throws an IllegalArgumentException

    GitHub | 6 months ago | s103451
    java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal index 2 out of tads 1
  2. 0

    An Error with ConvolutionalIterationListener ?

    GitHub | 8 months ago | dinhthap
    java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal index 2 out of tads 1

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Illegal index 2 out of tads 1

      at org.nd4j.linalg.api.ndarray.BaseNDArray.tensorAlongDimension()
    2. nd4j-api
      BaseNDArray.tensorAlongDimension
      1. org.nd4j.linalg.api.ndarray.BaseNDArray.tensorAlongDimension(BaseNDArray.java:789)
      1 frame
    3. org.deeplearning4j.ui
      ConvolutionalIterationListener.iterationDone
      1. org.deeplearning4j.ui.weights.ConvolutionalIterationListener.restoreRGBImage(ConvolutionalIterationListener.java:525)
      2. org.deeplearning4j.ui.weights.ConvolutionalIterationListener.iterationDone(ConvolutionalIterationListener.java:124)
      2 frames
    4. org.deeplearning4j.optimize
      Solver.optimize
      1. org.deeplearning4j.optimize.solvers.StochasticGradientDescent.optimize(StochasticGradientDescent.java:65)
      2. org.deeplearning4j.optimize.Solver.optimize(Solver.java:51)
      2 frames
    5. org.deeplearning4j.nn
      MultiLayerNetwork.fit
      1. org.deeplearning4j.nn.multilayer.MultiLayerNetwork.fit(MultiLayerNetwork.java:1067)
      1 frame
    6. org.deeplearning4j.examples
      Driver2.main
      1. org.deeplearning4j.examples.convolution.Driver2.main(Driver2.java:157)
      1 frame