java.lang.IllegalArgumentException: Length must be >= 1

GitHub | sid-sahani | 2 months ago
  1. 0

    ComputationGraph Network can't be built because of some length issues

    GitHub | 2 months ago | sid-sahani
    java.lang.IllegalArgumentException: Length must be >= 1
  2. 0

    GitHub comment 17#201437984

    GitHub | 8 months ago | treo
    java.lang.IllegalArgumentException: Length must be >= 1
  3. 0

    java.lang.IllegalArgumentException: Length must be >= 1

    GitHub | 6 months ago | rasoolims
    java.lang.IllegalArgumentException: Length must be >= 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1623#223034067

    GitHub | 6 months ago | valncrt
    java.lang.IllegalArgumentException: Length must be >= 1

    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.IllegalArgumentException

      Length must be >= 1

      at org.nd4j.linalg.api.buffer.BaseDataBuffer.<init>()
    2. nd4j-api
      FloatBuffer.<init>
      1. org.nd4j.linalg.api.buffer.BaseDataBuffer.<init>(BaseDataBuffer.java:118)
      2. org.nd4j.linalg.api.buffer.FloatBuffer.<init>(FloatBuffer.java:78)
      2 frames
    3. org.nd4j.linalg
      DefaultDataBufferFactory.create
      1. org.nd4j.linalg.api.buffer.factory.DefaultDataBufferFactory.create(DefaultDataBufferFactory.java:66)
      1 frame
    4. nd4j-api
      BaseNDArray.<init>
      1. org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1042)
      2. org.nd4j.linalg.api.ndarray.BaseNDArray.<init>(BaseNDArray.java:167)
      2 frames
    5. org.nd4j.linalg
      CpuNDArrayFactory.create
      1. org.nd4j.linalg.cpu.nativecpu.NDArray.<init>(NDArray.java:70)
      2. org.nd4j.linalg.cpu.nativecpu.CpuNDArrayFactory.create(CpuNDArrayFactory.java:258)
      2 frames
    6. nd4j-api
      BaseNDArray.get
      1. org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:3696)
      2. org.nd4j.linalg.api.ndarray.BaseNDArray.create(BaseNDArray.java:1766)
      3. org.nd4j.linalg.api.ndarray.BaseNDArray.subArray(BaseNDArray.java:1922)
      4. org.nd4j.linalg.api.ndarray.BaseNDArray.get(BaseNDArray.java:3810)
      4 frames
    7. org.deeplearning4j.nn
      ComputationGraph.init
      1. org.deeplearning4j.nn.params.DefaultParamInitializer.init(DefaultParamInitializer.java:73)
      2. org.deeplearning4j.nn.conf.layers.DenseLayer.instantiate(DenseLayer.java:51)
      3. org.deeplearning4j.nn.conf.graph.LayerVertex.instantiate(LayerVertex.java:85)
      4. org.deeplearning4j.nn.graph.ComputationGraph.init(ComputationGraph.java:352)
      5. org.deeplearning4j.nn.graph.ComputationGraph.init(ComputationGraph.java:263)
      5 frames