Questions tagged [deeplearning4j]

Deeplearning4j is commercial-grade, open-source, distributed deep-learning library written for Java and Scala. Integrated with Hadoop and Spark, DL4J is designed to be used in business environments, rather than as a research tool.

Deeplearning4j is a deep learning programming library written for Java and the Java virtual machine (JVM) and a computing framework with wide support for deep learning algorithms (such as Boltzmann machine, deep belief net, deep autoencoder, stacked denoising autoencoder and recursive neural tensor network, word2vec, doc2vec, and GloVe).

These algorithms all include distributed parallel versions that integrate with Apache Hadoop and Apache Spark.

For more information: deeplearning4j site, source code, support forum

Related Tags:

413 questions
0
votes
2 answers

Intellij Maven deeplearning4j

I am trying to set up a maven project in IntelliJ and I need complete up to date instructions on how to do the set up for deeplearning4j because I keep running into errors such as: java.lang.NoClassDefFoundError: Could not initialize class …
0
votes
0 answers

DL4J UnsatisfiedLinkError: libopenblas_nolapack.so.0: cannot open shared object file: No such file or directory

I tried to set up a deeplearning4j and OpenCV project on Linux via maven, but I get an UnsatisfiedLinkError: 2020-01-10 16:01:58.239 ERROR 13191 --- [io-13029-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet…
SPX-4800
  • 13
  • 1
  • 7
0
votes
1 answer

DL4J example on GPU doesn't work (for a school project)

I already have experience with deep learning. I use python and cuda works fine with my GPU when training a model. BUT, now I need to use Java (for an optional school project I want to create a reinforcement learning AI and I have to use Java). I'm…
plguillou
  • 38
  • 4
0
votes
1 answer

org.deeplearning4j.exception.DL4JInvalidInputException : Input that is not a matrix; expected matrix (rank 2), got rank 3 array

I have been trying to build a CNN model using dl4j, but it is giving me an error. The code: RecordReader rr; rr = new CSVRecordReader(); rr.initialize(new FileSplit(new File(dataLocalPath, nameTrain))); DataSetIterator trainIter = new…
Ritam
  • 11
  • 2
0
votes
1 answer

Deeplearning4j Word2Vec builder seed

In this page (http://deeplearning4j.org/docs/latest/deeplearning4j-nlp-word2vec), this snippet of code is mentioned log.info("Building model...."); Word2Vec vec = new Word2Vec.Builder() .minWordFrequency(5) …
AJ_4real
  • 167
  • 6
0
votes
1 answer

Building DeepLearning4j from source: NoClassDefFoundError org.nd4j.linalg.factory.Nd4j

Off on and for several months now, I've been trying and failing to build DL4J from source. I've even tried different distros, to no benefit. The closest I've come is using Ubuntu 19.10. mvn install -DskipTests works but the mvn clean test -P …
Michael Malak
  • 628
  • 8
  • 19
0
votes
1 answer

How to clarify which model layers to use for machine learning?

We are currently doing a little experiment with machine learning with Deeplearning4j. We have voltage measurements in time series from different devices that I know that depends on each other. We manage to labeling huge amount of those data with…
Dasma
  • 1,023
  • 13
  • 34
0
votes
2 answers

Deep learning basic thoughts

I try to understand the basics of deep learning, lastly reading a bit through deeplearning4j. However, I don't really find an answer for: How does the training performance scale with the amount of training data? Apparently, the cost function always…
PeMa
  • 1,559
  • 18
  • 44
0
votes
1 answer

is there any solution regarding dl4j with cuda support for this problem?

I am trying to execute MultiGpuLenetMnistExample.java and i have received following error " ... 12:41:24.129 [main] INFO Test - Load data.... 12:41:24.716 [main] INFO Test - Build model.... 12:41:25.500 [main] INFO…
explorer
  • 15
  • 4
0
votes
1 answer

org.deeplearning4j.exception.DL4JInvalidInputException: Problem with creating array with data to predict

When I run below code: model.output(samples).getDouble(0); I receive error: org.deeplearning4j.exception.DL4JInvalidInputException: Cannot do forward pass in Convolution layer (layer name = conv1d_1, layer index = 0): input array channels does not…
yaw
  • 303
  • 2
  • 11
0
votes
0 answers

How to reconfigure YOLO2 output layer for a specific volume?

Hi dl4j stackers is it possible to get a yolo variant other than the 5 default params [x, y, w, h, p] here's what I have from the default dl4j-examples repo on github for a 13 x 13 grid-locked image ... graphBuilder.addLayer("convolution2d_23", …
linker
  • 821
  • 1
  • 8
  • 20
0
votes
1 answer

How to correctly setup snapshots deeplearning4j

I tried re-configuring my project for snapshots in intellij, please why is my pom.xml not working according to the documentation snapshots-repo
linker
  • 821
  • 1
  • 8
  • 20
0
votes
1 answer

Is there any work around about nvidia cuda compiler with deeplearning4j?

updated my toolkit from 8.0 to 10.0 but with cuda 10.0 upon trying to initialise a computation graph I get the following error. ND4J CUDA build version: 10.0.130 CUDA device 0: [GeForce 940MX]; cc: [5.0]; Total memory:…
linker
  • 821
  • 1
  • 8
  • 20
0
votes
1 answer

dl4j does not contain text and models modules

In my project, I need to use the Word2Vec model. I decide to use dl4j for this. I load all dependencies, but there are no modules such as deeplearning4j.text and deeplearning4j.models I tried to change the version of dl4j from beta5 to 4 and 3 but…
Yorn
  • 37
  • 4
0
votes
0 answers

How can I access the "src/main/resources/" folder in Android/Iphone - GluonHQ JavaFX

I have created a Deep-Learning project called Deeplearning2C. The purpose with that application is to generate a neural network to pure C-code and also train/evaluate neural networks in a easy graphical way.…
euraad
  • 2,467
  • 5
  • 30
  • 51