Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
CnnSentenceDataSetIterator.loadSingleSentence() throws ND4JIllegalStateException if word vectors missing word #8120
If a user invokes:
where the underlying word vectors do not contain one of the words in the sentence then the following exception is thrown:
Expected behavior: Clearer error message explaining that the word vectors did not contain the requested word, and specify exactly which word was missing.
This issue might be a duplicate of #3254 but it looks like it was never fixed correctly.
Please indicate relevant versions, including, if relevant: