🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Deeplearning4J: Process Failed Indexes must be same length as array rank

User: "brandjoe"
New Altair Community Member
Updated by Jocelyn
Below the error I'm getting trying to train my idea (?) of a ConvLSTM Artificial Neural Net. The error pops up once training of the model reaches 100% and before the model can be applied to the testing set.

Process and a portion of the sample data are attached to this post. The config of the sample data is attached as well (screenshot). Thinking about it, I could have included that as an operator into the process... sorry about that.

Any ideas how I could get past this error?

Exception: java.lang.IllegalArgumentException
Message: Indexes must be same length as array rank
Stack trace:

  org.nd4j.linalg.api.shape.Shape.getOffset(Shape.java:646)
  org.nd4j.linalg.api.shape.Shape.getDouble(Shape.java:510)
  org.nd4j.linalg.api.ndarray.BaseNDArray.getDouble(BaseNDArray.java:1804)
  org.nd4j.linalg.api.ndarray.BaseNDArray.getDouble(BaseNDArray.java:4209)
  com.rapidminer.extension.deeplearning.ioobjects.DeepLearningModel.performPrediction(DeepLearningModel.java:170)
  com.rapidminer.operator.learner.PredictionModel.apply(PredictionModel.java:116)
  com.rapidminer.operator.ModelApplier.doWork(ModelApplier.java:134)
  com.rapidminer.operator.Operator.execute(Operator.java:1013)
  com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
  com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
  com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
  java.security.AccessController.doPrivileged(Native Method)
  com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
  com.rapidminer.extension.concurrency.operator.process_control.loops.AbstractLoopOperator.doIteration(AbstractLoopOperator.java:409)
  com.rapidminer.extension.concurrency.operator.process_control.loops.AbstractLoopOperator.performSynchronizedLoop(AbstractLoopOperator.java:382)
  com.rapidminer.extension.concurrency.operator.process_control.loops.AbstractLoopOperator.doWork(AbstractLoopOperator.java:462)
  com.rapidminer.operator.Operator.execute(Operator.java:1013)
  com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
  com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
  com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
  java.security.AccessController.doPrivileged(Native Method)
  com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
  com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423)
  com.rapidminer.operator.Operator.execute(Operator.java:1013)
  com.rapidminer.Process.executeRoot(Process.java:1377)
  com.rapidminer.Process.execute(Process.java:1318)
  com.rapidminer.Process.run(Process.java:1291)
  com.rapidminer.Process.run(Process.java:1177)
  com.rapidminer.Process.run(Process.java:1130)
  com.rapidminer.Process.run(Process.java:1125)
  com.rapidminer.Process.run(Process.java:1115)
  com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)<br>