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

Deeplearning4j Disable Logging

I have a deeplearning for java project which is producing huge amounts of logger output on STDO. I want to disable that but I cant seem to figure out how to do it. I have a log4j.properties file in my src/main/resources folder which looks like…
Vogon Jeltz
  • 1,166
  • 1
  • 14
  • 31
0
votes
1 answer

Continue training a deeplearning4j model after it has been saved and loaded

I am using a Convolutional Neural Network and I am saving it and loading it via the model serializer class. What I want to do is to be able to come back at a later time and continue training the model on new data provided to it. What I am doing is I…
0
votes
1 answer

Convert text columns csv file to LibSVM or SVMLight format by the vectorization

The CSV with text columns (sentence features in column) to convert it to svmlight or libsvm format (numerical format) by the vectorization like bag of words, etc?
Java questioner
  • 157
  • 1
  • 4
  • 12
0
votes
1 answer

deeplearning4j defining layers

The code below comes from https://deeplearning4j.org. I don't quite get the nIn and nOut params. Does the definition below create 2 layers, or 3 with one hidden layer of 1.000 neurons? And what would happen if the nOut of layer 0 would not match nIn…
Thorin
  • 51
  • 1
  • 3
0
votes
1 answer

machinelearning4j seems to cause disk going offline

fooling around with deeplearning4j in eclipse oxygen on windows 8.1 usually after running the LR sample program a few times and perhaps doing a gradle build, my d: drive (containing the source code) goes off-line. comes back after a reboot. has…
Ray Tayek
  • 9,841
  • 8
  • 50
  • 90
0
votes
2 answers

dl4j MultiLayerNetwork does not have a constructor that take NeuralNetConfiguration (version 0.9.1)

I'm trying to write a simple Classifier example in Scala and looking at the dl4j examples a NeuralNetConfiguration instance is created (using a builder) and then passed as an argument to a MultiLayerNetwork class constructor. However, looking at the…
Pedro Alipio
  • 117
  • 1
  • 8
0
votes
1 answer

Build Error: Could not find artifact org.nd4j:nd4j-cuda-9.0:jar:linux-x86_64:0.9.2-SNAPSHOT in sonatype-nexus-snapshots

I'm trying to build the latest DeelLearning4j 0.9.2 using the build-dl4j-stack executable on CentOS workstation. ND4j and Dataved both build with no problem. The DeepLearning4j throws an error at deeplearning4j-cuda module. [ERROR] Failed to execute…
AAZ
  • 11
  • 4
0
votes
2 answers

ND4J arrays & their shapes: getting data into a list

Consider the following code, which uses the ND4J library to create a simpler version of the "moons" test data set: val n = 100 val n1: Int = n/2 val n2: Int = n-n1 val outerX = Nd4j.getExecutioner.execAndReturn(new Cos(Nd4j.linspace(0, Math.PI,…
syenmesh
  • 85
  • 5
0
votes
1 answer

IntelliJ idea deeplearning4j debugger has discrepancy in data

I work with deeplearning4j and created INDArray of quite big size. Into that array I write some values. If I try to see those values in debugger, initially I see zeros, and only for data at FloatBuffer I see entered values. See the screenshot. If…
Yuriy Zaletskyy
  • 4,983
  • 5
  • 34
  • 54
0
votes
1 answer

Zero Columns In DataVec Matrix When Running Deeplearning4J Classification

I'm attempting to run the deeplearning4j quickstart classification problem. I'm using Windows 8 64 bit, Oracle JDK 8, IntelliJ 2017.2.5, and Maven 3.3.9. I got past the Canova issue that plagued me earlier. Now I have a new problem at…
duffymo
  • 305,152
  • 44
  • 369
  • 561
0
votes
1 answer

DL4J. After doing model.upgrade(Gradient) are the weights updated?

I am using a MultiLayerNetwork. This network is trained and the results are as expected. As part of an effort to implement Federated Learning I need to upgrade the weights of this network with a new set of gradients coming from an external…
JAC
  • 287
  • 1
  • 10
0
votes
1 answer

Deeplearning4j - 3 layer neural network not fitting correctly

I'm in the process of trying to learn the Deeplearning4j library. I'm trying to implement a simple 3-layer neural network using sigmoid activation functions to solve XOR. What configurations or hyper-parameters am I missing? I've managed to get…
DaveJ
  • 55
  • 1
  • 6
0
votes
0 answers

deeplearning4j: cannot use an existing Word2Vec dutchembeddings

I tried to use the dutchembeddings in Word2Vec format with dl4j. But an exception is thrown when loadStaticModel is called: "Unable to guess input file format" WordVectorSerializer.loadStaticModel(new…
0
votes
1 answer

Exception in thread "main" java.lang.NoClassDefFoundError: org/deeplearning4j/nn/conf/layers/Layer

I am trying to build an application on spark using Deeplearning4j library. I have a cluster where i am going to run my jar(built using intelliJ) using spark-submit command. Here's my code package Com.Spark.Examples import…
0
votes
3 answers

ExceptionInInitializerError when running simple DL4J code

I'm currently trying to get dl4j (deeplearning4j) to import my model that I trained in keras 1.2. This is my code: public static void main( String[] args ) { try { MultiLayerNetwork network =…
a.deshpande012
  • 715
  • 7
  • 18