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
2
votes
2 answers

Deeplearning4j example does not work with gradle

I am trying to run CnnSentenceClassification from deeplearning4j example. I moved this file to my Gradle project. When I run the class from the eclipse it works fine. However when I run it from ./gradlew run I get following error: Exception in…
2
votes
0 answers

Doc2Vec from gensim to deeplearning4j

Is there any way to load doc2vec model saved using gensim into deeplearning4j's ParagraphVectors? My gensim model is valid - I am able to load it using gensim with no problems. When I call WordVectorSerializer.readParagraphVectors on my model from…
dkaras
  • 195
  • 2
  • 12
2
votes
2 answers

What is ${session.executionRootDirectory} and how to set it

I am using dl4j examples in my system. It's a maven project with various modules. There are several pom files in it. In the parent pom file I noticed I got an error stating: Cannot resolve symbol 'session.executionRootDirectory' . I don't…
Eypros
  • 5,370
  • 6
  • 42
  • 75
2
votes
2 answers

dl4j on netbeans without maven

I have a question Is there any way to use dl4j on netbeans without maven? I have many restriction in muy computer, I can't install maven (nothing, by the way, politics of my job, you know...) but I have Netbeans 8.1. I have these libraries in my…
2
votes
3 answers

Why is this XOR neural network having 2 outputs?

Regularly, a simple neural network to solve XOR should have 2 inputs, 2 neurons in hidden layer, 1 neuron in output layer. However, the following example implementation has 2 output neurons, and I don't get…
2
votes
1 answer

Installing DeepLearning4j fails with eclipse plugin

I downloaded the entire project and import into Eclipse, but fails on this plugin: Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: com.lewisd:lint-maven-plugin:0.0.11:check (execution:…
user697911
  • 10,043
  • 25
  • 95
  • 169
2
votes
0 answers

Improving DL4J Text Classification accuracy with ParagraphVectors

I have a training dataset of 1,00,000+ documents categorised into around 100 categories. I am trying to predict category for a text using DeepLearning4java library, code based on ParagraphVectorsClassifierExample example. Each document is a single…
Gopi
  • 10,073
  • 4
  • 31
  • 45
2
votes
2 answers

Initialize custom weights in deeplearning4j

I'm trying to implement something like this https://www.youtube.com/watch?v=Fp9kzoAxsA4 which is a GANN (Genetic Algorithm Neural Network) using DL4J library. Genetic learning variables: Genes: Creature Neural Network weights Fitness: Total…
Kareem Mohamed
  • 251
  • 3
  • 14
2
votes
1 answer

Vanishing/Exploding gradients in deeplearning4j

How to check if we're having a vanishing/exploding gradient in deeplearning4j, more specifically for recurrent neural networks? I mean, what parameters to look for and what methods should we call to get the value of such parameters?
2
votes
1 answer

Deeplearning4J-- java.lang.OutOfMemoryError: Java heap space

I'm trying to load Google news corpus using this code: File gModel = new File("/word2vec/GoogleNews-vectors-negative300.bin.gz"); Word2Vec vec = WordVectorSerializer.loadGoogleModel(gModel, true); but it causes this error: Exception…
Nana
  • 21
  • 4
2
votes
0 answers

Unexpected state occurred for AsyncDataSetIterator: runnable died or no data available

I'm trying to build a neural network using deep learning4j framework, I get the following error : java.lang.IllegalStateException: Unexpected state occurred for AsyncDataSetIterator: runnable died or no data available" this exception Here is my…
2
votes
3 answers

issue when run deeplearning4J example

I am learning deep learning, and use deeplearning4J tuts. But when i run example code, some issue there : Caused by: java.lang.UnsatisfiedLinkError: no jnind4j in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) …
user6172474
2
votes
1 answer

how to parse a CSV file with dataVec using a schema?

I am trying to load a CSV data set with canova/datavec, and can not find the "idiomatic" way of doing it. I struggle a bit since I feel that there is an evolution of the framework, which makes it difficult for me to determine what is relevant and…
stian
  • 1,947
  • 5
  • 25
  • 47
2
votes
1 answer

Deeplearning4j - How to fill RNN INDArray?

I want to write a RNN in Deeplearning4j for stock market predictions but I'm struggling with creating und filling the 3-dimensional INDArrays. So if I have the following time series: 1 2 3 4 5 6 7 8 9 10 and I want to use 5 values as input and…
M. Lohmann
  • 23
  • 3
2
votes
3 answers

Deeplearning4j LSTM output size

I my case - at input I have List> (list of word representation vectors). And - have one Double at output from one sequence. So I building next structure (first index - example number, second - sentence item number, third - word vector…