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
1 answer

DeepLearning4J: org.nd4j.linalg.factory.Nd4jBackend$NoAvailableBackendException when running in jupyter

I'm trying to run a DL4J example in a jupyter Notebook (IBM DSExperience) so I've ported the MLP Classifier example from Java to Scala, added the dependencies but currently struggling with the backend selection. I thought is would be sufficient just…
Romeo Kienzler
  • 3,373
  • 3
  • 36
  • 58
0
votes
1 answer

Deeplearning4j: unable to get linear index >= 1

I'm trying to train a neural network using deeplearning4j. But I get this error message which I cannot explain: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at…
Richard Deurwaarder
  • 2,023
  • 1
  • 26
  • 40
0
votes
1 answer

Running deeplearning4j intellij program from command line interface

i want to run my deeplearning4j program that i created as IntelliJ project from server with command line input and i don't have any clue how to do it, any suggestion?
0
votes
1 answer

Deeplearning4j with spark: SparkDl4jMultiLayer evaluation with JavaRDD

I'm new to Spark and I'm currently trying to build a neural network using the deeplearning4j api. The training works just fine, but I'm encountering problems at evaluation. I get the following error message 18:16:16,206 ERROR ~ Exception in task 0.0…
graffo
  • 1
  • 2
0
votes
1 answer

How can I use deeplearning4j Word2vec with Spark?

When using spark-submit, I need to send the dependencies with --packages. Which package should I use? I tried making an uber jar which contain the dependencies, but I get the following error: java.lang.IllegalArgumentException: Please specify an…
blpasd
  • 409
  • 7
  • 18
0
votes
1 answer

How to incorporate Deeplearning4j word2vec with Spark to convert words into its vector representation?

I want the DeepLearning4j Word2Vec with incorporate with Spark.I have around 80000 words data for which I want to get the vector representation. Later on, I want to find the synonyms using that vector representation. I am struggling where to write…
0
votes
1 answer

word2vec deeplearning4j ArrayIndexOutOfBoundsException in WordVectorSerializer.loadTxtVectors()

I trained the word2vec model from http://deeplearning4j.org/word2vec successfully and now get this exception when trying to apply the wordsNearest: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 99 at…
Alex
  • 235
  • 1
  • 3
  • 6
0
votes
1 answer

Implementing tensorflow functionality in deeplearning4j

I'm trying to implement the code described in this blogpost with deeplearning4j. http://www.wildml.com/2015/12/implementing-a-cnn-for-text-classification-in-tensorflow/ I'm having problems implementing multiple kernels on the same channel and…
user2509422
  • 125
  • 10
0
votes
1 answer

Error in defining the object of DataSetIterator

I am trying to run the example of deeplearning4j LenetMnistExample. Error of "Frame is not available" occurrs in these lines DataSetIterator mnistTrain = new MnistDataSetIterator(batchSize,true,12345); DataSetIterator mnistTrain = new…
Nabeel_Afzal
  • 155
  • 1
  • 1
  • 11
0
votes
1 answer

Building an Image search engine using Convolutional Neural Networks

I am trying to implement an image search engine using AlexNethttps://github.com/akrizhevsky/cuda-convnet2 The idea is to implement an image search engine by training a neural net to classify images and then using the code from the net's last hidden…
0
votes
1 answer

MultiLayerNetwork to predict simple function

I'm trying to develop some intuition for machine learning. I looked over examples from https://github.com/deeplearning4j/dl4j-0.4-examples and I wanted to develop my own example. Basically I just took a simple function: a * a + b * b + c * c - a *…
user1995187
  • 393
  • 5
  • 18
0
votes
0 answers

Deplearning4j on Spark pipeline; Recurrent Neural Network program slow downs when added to spark pipeline

I created a RNN program which creates an RNN model, trains it and predicts using the model using deeplearning4j. It runs with a good speed(30 minutes)but when it is added to the spark pipeline, it takes about 10 hours to run.Can you give me reason…
0
votes
1 answer

Deeplearning4j on spark pipeline: What are the arguments to the org.apache.spark.ml.PredictionModel.predict method

I am trying to add sentiment analysis program written in deeplearning4j to Spark pipeline. Then I have to override the method org.apache.spark.ml.PredictionModel. predict() to predict using the RNN model I created. As I understood, the arguments to…
0
votes
1 answer

Deeplearning on Spark pipeline: How to predict using a neural network model in a pipeline?

I am trying to add sentiment analysis program to Spark pipeline. When doing it, I have class which extends org.apache.spark.ml.PredictionModel. When extending this PredictionModel class, I have to override predict() method which predicts the label…
0
votes
1 answer

Converting org.bytedeco.javacpp.Mat to Java int/float array

My image is represented as org.bytedeco.javacpp.Mat. And I simply want to convert it to Java array of float/int. Reason behind conversion is that I want to use the Java array in other library (Nd4j) for image permute purposes. I have tried below…