Skip to content

Tag: deeplearning4j

Avoid platform specific dependencies in SBT packageBin

In a Java11 project (actually Java Play-Framework) I depend directly on org.deeplearning4j:deeplearning4j-nlp:1.0.0-M2 in my build.sbt running SBT 1.5.5. That dependency transitively depends on several other libraries (like e.g. org.bytedeco:ffmpeg:5.0-1.5.7) that exists as platform dependent libraries and se…

DeepLearning4J Problems with INDArray

I use INDArray input = Nd4j.create(f); to create the INDArray but this m1.output(input) throws following exception: I do not understand why the created INDArray is two-dimensional and where the 63 is coming from.. Edit: The MultiLayerNetwork Configuration: Answer Your 63 is coming from the neural network itse…