java.lang.IllegalStateException: Mis matched lengths: [9000] != [3]

  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    putRow edge case bug

    GitHub | 4 months ago | AlexDBlack
    java.lang.IllegalStateException: Mis matched lengths
  3. 0

    RecordReaderMultiDataSetIterator not working with ImageRecordReader

    GitHub | 4 weeks ago | ambraspace
    java.lang.IllegalStateException: Mis matched lengths: [1] != [100]

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Mis matched lengths: [9000] != [3]

      at org.nd4j.linalg.util.LinAlgExceptions.assertSameLength()
    2. nd4j-api
      BaseNDArray.sub
      1. org.nd4j.linalg.util.LinAlgExceptions.assertSameLength(LinAlgExceptions.java:39)
      2. org.nd4j.linalg.api.ndarray.BaseNDArray.subi(BaseNDArray.java:2786)
      3. org.nd4j.linalg.api.ndarray.BaseNDArray.subi(BaseNDArray.java:2767)
      4. org.nd4j.linalg.api.ndarray.BaseNDArray.sub(BaseNDArray.java:2547)
      4 frames
    3. org.deeplearning4j.nn
      MultiLayerNetwork.computeGradientAndScore
      1. org.deeplearning4j.nn.layers.BaseOutputLayer.getGradientsAndDelta(BaseOutputLayer.java:182)
      2. org.deeplearning4j.nn.layers.BaseOutputLayer.backpropGradient(BaseOutputLayer.java:161)
      3. org.deeplearning4j.nn.multilayer.MultiLayerNetwork.calcBackpropGradients(MultiLayerNetwork.java:1125)
      4. org.deeplearning4j.nn.multilayer.MultiLayerNetwork.backprop(MultiLayerNetwork.java:1077)
      5. org.deeplearning4j.nn.multilayer.MultiLayerNetwork.computeGradientAndScore(MultiLayerNetwork.java:1817)
      5 frames
    4. 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
    5. org.deeplearning4j.nn
      MultiLayerNetwork.fit
      1. org.deeplearning4j.nn.multilayer.MultiLayerNetwork.fit(MultiLayerNetwork.java:1445)
      1 frame
    6. org.deeplearning4j.examples
      IoTAnomalyExample.main
      1. org.deeplearning4j.examples.feedforward.anomalydetection.IoTAnomalyExample.main(IoTAnomalyExample.java:110)
      1 frame