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

keras: extracting weights using get_weights function

I would like to extract weights of 1d CNN layer, and understand how exactly the prediction values are computed. I am not able to re-produce the prediction values using the weights from get_weights() function. In order to explain my understanding,…
FairyOnIce
  • 2,526
  • 7
  • 27
  • 48
5
votes
1 answer

Deep Learning Book: What's the meaning of Pa in this section?

I'm reading Deep Learning Book and puzzled by this "undefined identifier" (the Pa in the image, line 4). It appears at Page 208. Can you tell me just what Pa() means? Just a tip so that I can refer to Google. Thanks a lot! Link to origin image |…
recolic
  • 554
  • 4
  • 18
5
votes
1 answer

Is there any example of using weighted loss for pixel-wise segmentation/classification tasks?

I am doing FCN32 semantic segmentation on my data. I ran the algorithm to fine-tune for my data (grayscale images with only one channel), till 80,000 iterations; however, the loss and accuracy are fluctuating and the output image completely black.…
S.EB
  • 1,966
  • 4
  • 29
  • 54
5
votes
4 answers

How to setup scala sbt project for nd4j and deeplearning4j

I want to run the LSTM code from deeplearning4j examples in my own sbt project using scala. My setup is Ubuntu 14.04, sbt 0.13, Oracle Java 8, nd4j version 0.5.0, scala 2.11.8. My approach can be found in my git repo. Feel free to clone it. On…
Sebastian
  • 281
  • 1
  • 8
4
votes
0 answers

Libraries not accessible for "classloader-namespace", when loading DL4J model using restoreMultiLayerNetwork()

I cannot find out how to get rid of / solve the below errors, that occur when loading a Neural Network model using the DL4J method restoreMultiLayerNetwork using Android API >= 24: The errors occur when the following line within the method…
Moritz
  • 1,710
  • 1
  • 8
  • 13
4
votes
0 answers

Is it possible to get nd4j working on linux-arm system?

I'm trying to get a maven project built with an nd4j dependency on a linux ARM system. Here's my current dependency in my pom.xml file org.nd4j nd4j-native-platform
4
votes
1 answer

Epochs and Iterations in Deeplearning4j

I recently started learning Deeplearning4j and I fail to understand how the concept of epochs and iterations is actually implemented. In the online documentation it says: an epoch is a complete pass through a given dataset ... Not to be confused…
FluidCode
  • 271
  • 2
  • 10
4
votes
1 answer

Deeplearning4j LSTM time series prediction example

I'm trying to do some simple time series prediction in Deeplearning4j, using an LSTM, but I'm having a hard time getting it working. I have a simple textfile with a list of numbers like below and would like the network to learn to predict the next…
Thorin
  • 51
  • 1
  • 3
4
votes
1 answer

Export deeplearning4j models to Keras

I know deeplearning4j can import models from Keras ( https://deeplearning4j.org/model-import-keras ), but I'm interested in the opposite way. Therefore, is there any way to export deeplearning4j models to Keras? This could be either directly or by…
godfatherofpolka
  • 1,645
  • 1
  • 11
  • 24
4
votes
1 answer

Reuse normalizer in ND4J/DL4J

I wonder what's the proper way to reuse a normalizer in ND4J/DL4J. Currently, I save it follows: final DataNormalization normalizer = new NormalizerStandardize(); normalizer.fit( trainingData ); normalizer.transform( trainingData…
beatngu13
  • 7,201
  • 6
  • 37
  • 66
4
votes
2 answers

How to Export JAR (JavaFX and Maven) using IntelliJ IDEA

I created a new JavaFX project with a pom.xml for Maven. Now I want to export it to a runnable JAR. Currently, I'm on IntelliJ IDEA 2017.1.1-2 How would one do this? This is my current pom.xml:
Jaden Wang
  • 126
  • 1
  • 9
4
votes
3 answers

Performance Encog vs Deeplearning4J

We are working on a project in Java using neural networks. We want to test different network structures on our datasets. Now we evaluate which of the Java Neural Networks is the best in terms of performance. We are evaluating Encog, Neuroph and…
jvh
  • 341
  • 3
  • 15
4
votes
1 answer

java.lang.OutOfMemoryError when running the DeepLearning4J MNIST sample

here is what I'm doing on a single node, local spark cluster: git clone https://github.com/deeplearning4j/dl4j-spark-cdh5-examples.git cd dl4j-spark-cdh5-examples.git mvn package export SPARK_WORKER_MEMORY=13g spark-submit --class…
Romeo Kienzler
  • 3,373
  • 3
  • 36
  • 58
3
votes
2 answers

Use in python trained tensorflow keras model in java for image recognition

I use keras in phyton to do my first steps in neuronal networks. I trained a model to recognize small 30px x 30px images. import tensorflow as tf import matplotlib.pyplot as plt from tensorflow import keras from tensorflow.keras import layers from…
Andreas Radauer
  • 1,083
  • 7
  • 18
3
votes
0 answers

Accessing weights and raw activations of all layers in deeplearning4j

My goal is to visualize a model classifying an image. For the visualization I need the raw activations / outputs of each layer. Is there a way to access these when predicting? Furthermore, it would be very helpful if there is a way to access the…
Leyens
  • 81
  • 1
  • 6
1
2
3
27 28