In nlp.paragraghvectors, code ParagraghVectorsInferenceExample says “In this example we load previously built model, and pass raw sentences, probably never seen before, to get their vector representation.”, so i ran ParagraghVectorsClassifierExample first, it give out the classification.
then i ran ParagraghVectorsInferenceExample, there is errors
It appears to be a problem with the mkldnn implementation. If you don’t want to go back and forth between versions, you can also disable mkldnn with Nd4j.getEnvironment().allowHelpers(false); before loading and save the file in another format that way.
And the screenshot you’ve posted shows that it has 97406 inputs, so I’m guessing that this is the same issue, and you should be able to workaround it with the same workaround.