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
26
votes
3 answers

deeplearning4j - using an RNN/LSTM for audio signal processing

I'm trying to train a RNN for digital (audio) signal processing using deeplearning4j. The idea is to have 2 .wav files: one is an audio recording, the second is the same audio recording but processed (for example with a low-pass filter). The RNN's…
erikd71
  • 279
  • 2
  • 5
23
votes
1 answer

Does Gensim library support GPU acceleration?

Using Word2vec and Doc2vec methods provided by Gensim, they have a distributed version which uses BLAS, ATLAS, etc to speedup (details here). However, is it supporting GPU mode? Is it possible to get GPU working if using Gensim?
Irene Li
  • 341
  • 1
  • 3
  • 6
12
votes
1 answer

RNTN implementation in java

I want to implement a Recursive neural tensor network(RNTN) in java. I've used Deeplearning4j for word2vec pipeline to vectorize a corpus of words. for NLP pipeline I've used Opennlp.( for tokenizing, POStaging and parsing) Now, I figured out that I…
iamgr007
  • 966
  • 1
  • 8
  • 28
12
votes
1 answer

org.nd4j.linalg.factory.Nd4jBackend$NoAvailableBackendException

I don't know what it wants from me. I am using org.deeplearning4j deeplearning4j-core ${deeplearning4j.version}
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
10
votes
1 answer

Deeplearning4j: Iterations, Epochs, and ScoreIterationListener

Good afternoon to everybody. I'm quite new to the Deepleaning4j library and there are a couple of stuff that are still unclear to me. The concept of "epoch" is not new, thus, it is clear that it represents a full-cycle on the training set. My first…
Mauro
  • 111
  • 5
9
votes
2 answers

Neural Network returning NaN as output

I am trying to write my first neural network to play the game connect four. Im using Java and deeplearning4j. I tried to implement a genetic algorithm, but when i train the network for a while, the outputs of the network jump to NaN and I am unable…
David
  • 127
  • 5
8
votes
2 answers

How can I use a custom data model with Deeplearning4j?

The base problem is trying to use a custom data model to create a DataSetIterator to be used in a deeplearning4j network. The data model I am trying to work with is a java class that holds a bunch of doubles, created from quotes on a specific stock,…
Ethan
  • 97
  • 1
  • 6
8
votes
4 answers

Which is best for object localization among R-CNN, fast R-CNN, faster R-CNN and YOLO

what is the difference between R-CNN, fast R-CNN, faster R-CNN and YOLO in terms of the following: (1) Precision on same image set (2) Given SAME IMAGE SIZE, the run time (3) Support for android porting Considering these three criteria which is the…
Santle Camilus
  • 945
  • 2
  • 12
  • 20
8
votes
2 answers

DL4J is super slow on GoogleNews-vectors file

I tried to execute the following example on DL4J (loading pre-trained vectors file): File gModel = new File("./GoogleNews-vectors-negative300.bin.gz"); Word2Vec vec = WordVectorSerializer.loadGoogleModel(gModel, true); InputStreamReader r = new…
7
votes
2 answers

Deeplearning4j xor example

I'm trying to train an xor network with deeplearning4j, but i think i didn't really get how to use the dataset. I wanted to create a NN with two inputs, two hidden neurons and one output neuron. here is what i have: package…
wutzebaer
  • 14,365
  • 19
  • 99
  • 170
6
votes
2 answers

different prediction after load a model in keras

I have a Sequential Model built in Keras and after trained it give me good prediction but when i save and then load the model i don't obtain the same prediction on the same dataset. Why? Note that I checked the weight of the model and they are the…
AM13
  • 661
  • 1
  • 8
  • 18
6
votes
1 answer

Is it possible to use gensim word2vec model in deeplearning4j.word2vec?

I'm new to deeplearning4j, i want to make sentence classifier using words vector as input for the classifier. I was using python before, where the vector model was generated using gensim, and i want to use that model for this new classifier. Is it…
zunzelf
  • 85
  • 1
  • 5
6
votes
0 answers

FatJar from sbt-assembly throw java.lang.NoClassDefFoundError

I'm trying to execute a fat jar builded with sbt-assembly using spark and deepLearning4J, unfortunately during execution i'm confronted to the Exception in thread "main" java.lang.NoClassDefFoundError: error for many jars. I tried to add jars using…
KyBe
  • 842
  • 1
  • 14
  • 33
5
votes
1 answer

How to select a given set of indexes from an NDArray in ND4j similarly to numpy's arraydata[arrayIndex]?

I am developing a scientific application relying heavily on array manipulation in Java using ND4j (presently version 1.0.0-beta5). Throughout my pipeline, I have the need to dynamically select a non contiguous subset of a [2,195102] matrix (a few…
TimWetone
  • 53
  • 4
5
votes
1 answer

Rnn Neural Network predict return unexpected predictions

I am triying to configure an RNN neural netwwork in order to predict 5 different types of text entities. I am using the next configuration: MultiLayerConfiguration conf = new NeuralNetConfiguration.Builder() .seed(seed) …
Martin
  • 1,282
  • 1
  • 15
  • 43
1
2 3
27 28