java.lang.ArrayIndexOutOfBoundsException: 40

GitHub | KayMKM | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    40

    at org.deeplearning4j.models.word2vec.wordstore.VocabularyHolder.listToArray()
  2. org.deeplearning4j.models
    WordVectorSerializer.writeFullModel
    1. org.deeplearning4j.models.word2vec.wordstore.VocabularyHolder.listToArray(VocabularyHolder.java:179)
    2. org.deeplearning4j.models.word2vec.wordstore.VocabularyHolder.buildNode(VocabularyHolder.java:89)
    3. org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.writeFullModel(WordVectorSerializer.java:722)
    3 frames
  3. org.deeplearning4j.examples
    TrainWord2vec.main
    1. org.deeplearning4j.examples.TrainWord2vec.main(TrainWord2vec.java:81)
    1 frame