java.lang.ArithmeticException: / by zero at org.deeplearning4j.models.sequencevectors.SequenceVectors.buildVocab(SequenceVectors.java:115)

GitHub | dmallela | 7 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

    Running ParagraphVectorsClassifierExample on GPU

    GitHub | 7 months ago | dmallela
    java.lang.ArithmeticException: / by zero at org.deeplearning4j.models.sequencevectors.SequenceVectors.buildVocab(SequenceVectors.java:115)

    Root Cause Analysis

    1. java.lang.ArithmeticException

      / by zero at org.deeplearning4j.models.sequencevectors.SequenceVectors.buildVocab(SequenceVectors.java:115)

      at org.deeplearning4j.models.sequencevectors.SequenceVectors.fit()
    2. org.deeplearning4j.models
      SequenceVectors.fit
      1. org.deeplearning4j.models.sequencevectors.SequenceVectors.fit(SequenceVectors.java:138)
      1 frame
    3. com.Classifier.paragraphvectors
      ParagraphVectorsClassifierExample.main
      1. com.Classifier.paragraphvectors.ParagraphVectorsClassifierExample.makeParagraphVectors(ParagraphVectorsClassifierExample.java:89)
      2. com.Classifier.paragraphvectors.ParagraphVectorsClassifierExample.main(ParagraphVectorsClassifierExample.java:47)
      2 frames