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
0 answers

How can I use Deeplearning4j regression to do image noise reduction?

I'm very new to NN and have started playing around with Deeplearning4j. I have tried as an exercise the idea of reducing ISO noise from a photo. To do this I took 2 photos identically framed, but one shot at ISO 100 and one shot at ISO25600. I made…
0
votes
1 answer

deeplearning4j embedding layer weight update

I need to use an embedding layer to encode the word vectors, so the weights of the embedding layer essentially are the word vectors. Obviously I don't want the weights in this case to be updated during back propagation. My question is if embedding…
Sheng
  • 1,697
  • 4
  • 19
  • 33
0
votes
1 answer

DeepLearning4j and DataVec read csv file with label

I have built a DL4j project. Everything is fine if I use MNIST dataset as follows: DataSetIterator mnistTrain = new MnistDataSetIterator(batchSize, true, rngSeed); DataSetIterator mnistTest = new MnistDataSetIterator(batchSize, false,…
Yi Luo
  • 153
  • 2
  • 15
0
votes
1 answer

Evaluating neural networks built with Comp Graph dl4j

I am trying to build a complex neural network using Computation Graph implementation in Deeplearning4J. I need to have multiple outputs so that's why I can't go with the generic MultiLayerConfiguration. However, my problem is that in this case I do…
0
votes
0 answers

In dl4j word2 vec vecs.similarity method throws null pointer exception

File gModel = new File("D:/FluidAI/WordVec/pathToSaveModel.txt"); Word2Vec vecs = WordVectorSerializer.readWord2VecModel(gModel);//("D:/FluidAI/WordVec/pathToSaveModel.txt"); vecs.setTokenizerFactory(t); vecs.setSentenceIter(iter); …
friend
  • 15
  • 1
  • 11
0
votes
1 answer

what is the typical size of pre-trained image classification model size

I have a few general questions regarding using pre-trained image classification models in mobile. How big is a typical pre-trained model? If it is too big for mobile, what is the best strategy from there? I checked out the documentation of…
Fei Zheng
  • 141
  • 1
  • 4
0
votes
0 answers

I am getting errors while running Dl4j Example

i am try to run the deeplearning for java "main" java.lang.UnsatisfiedLinkError: no jniopenblas in java.library.path Class Test{ protected static final String[] allowedExtensions = BaseImageLoader.ALLOWED_FORMATS; protected static int…
friend
  • 15
  • 1
  • 11
0
votes
1 answer

Translate lasagne neural network in deeplearning4j

I am working on translating a lasagne neural network into deeplearning4j code. So far I've managed to get the layers in place but I am not sure if the other configurations are okay. I am not an expert in neural networks and cannot easily find the…
0
votes
1 answer

deeplearning4j on yarn cluster fails

I want to submit my jar on cluster using master=yarn-cluster , but get error. java.lang.NoClassDefFoundError: org/nd4j/Nd4jRegistrator at Main.main(Main.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) …
0
votes
0 answers

How to train DeepLearning4j ComputationGraph with single example

I've created a net from EncoderDecoderLSTM example https://github.com/deeplearning4j/dl4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/recurrent/encdec/ NeuralNetConfiguration.Builder builder = new…
7luc9ka
  • 28
  • 4
0
votes
1 answer

How to NLP-process a doc line by line in DeepLearning4j?

I have a question regarding SentenceIterator/DocumentIterator for NLP. Each line in my file represents a short document, which consists of 1 or more sentences. I would like to pass each line to UIMA nlp processor and receive a List of pos-tagged…
user697911
  • 10,043
  • 25
  • 95
  • 169
0
votes
1 answer

Code error using MNIST example of deeplearning4j

Help me please! I'm working on a project using deeplearning4j. The MNIST example works very well but I get an error with my dataset. My data set has two outputs. int height = 45; int width = 800; int channels = 1; int rngseed = 123; Random…
0
votes
1 answer

classify new image on trained custom model in deeplearning4j (convolutional network)

Im new to deeplearning4J. I already experimented with its word2vec functionality and everything was fine. But now I am little bit confused regarding image classification. I was playing with this example:…
Oliver Eder
  • 85
  • 2
  • 10
0
votes
1 answer

Simple deeplearning4J Java based Spark example?

I need to run a simple Java based deeplearning4j example in hadoop cluster and I found one here. My need to specify the input from command line (which should be a path on HDFS) and output should go to HDFS, for later view However, in the example…
CuriousMind
  • 8,301
  • 22
  • 65
  • 134
0
votes
1 answer

Maven IntelliJ Error Importing Class in Same Package

I'm working on a project using DeepLearning4J, Maven, and IntelliJ. I added a user interface class to my package. However, whenever I try to import a class from the same package into my UserInterface.java class, I receive the following…