java.lang.IllegalStateException: Unable to get number of of rows for a non 2d matrix

GitHub | rahulpalamuttam | 8 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

    MainNetcdfDFSMCC breaks when calling rows() on non 2d matrix

    GitHub | 8 months ago | rahulpalamuttam
    java.lang.IllegalStateException: Unable to get number of of rows for a non 2d matrix
  2. 0

    Runtime error : RangedInt ~ fails to work for dimensions greater than 2

    GitHub | 2 years ago | rahulpalamuttam
    java.lang.IllegalStateException: Unable to get number of of rows for a non 2d matrix

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unable to get number of of rows for a non 2d matrix

      at org.nd4j.linalg.api.ndarray.BaseNDArray.rows()
    2. nd4j-api
      BaseNDArray.rows
      1. org.nd4j.linalg.api.ndarray.BaseNDArray.rows(BaseNDArray.java:3591)
      1 frame
    3. org.dia.tensors
      Nd4jTensor.rows
      1. org.dia.tensors.Nd4jTensor.rows(Nd4jTensor.scala:147)
      1 frame
    4. org.dia.algorithms
      MCCOps$.labelConnectedComponents
      1. org.dia.algorithms.mcc.MCCOps$.labelConnectedComponents(MCCOps.scala:149)
      1 frame