Questions tagged [dl4j]

Deeplearning4j is the first commercial-grade, open-source, distributed deep-learning library written for Java and Scala

About

Deeplearning4j is the first 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.

Links

208 questions
6
votes
5 answers

Android Studio: Connect to 127.0.0.1:8118 [/127.0.0.1] failed: Connection refused: connect

I am trying to build this project https://github.com/deeplearning4j/dl4j-examples/tree/master/android/DL4JIrisClassifierDemo in Android Studio, and I get: > Could not resolve com.android.tools.build:gradle:3.0.1. > Could not get resource…
6
votes
3 answers

Serving Keras Models With Tensorflow Serving

Right now we are successfully able to serve models using Tensorflow Serving. We have used following method to export the model and host it with Tensorflow Serving. ------------ For exporting ------------------ from…
Sumit Ghosh
  • 119
  • 2
  • 9
5
votes
1 answer

MAVEN error while downloading dl4j examples

Before I ask the question let me just say that I'm completely new to DL4J, maven and java, so please bear with my stupid question. I'm trying to install the dl4j-examples using mvn clean install command but I get the following error: [ERROR] Failed…
Rida Iftikhar
  • 186
  • 3
  • 16
4
votes
0 answers

Seq2Seq Model (DL4J) Making Absurd Predictions

I am trying to implement a Seq2Seq Predictor Model in DL4J. What I ultimately want is to use a time series of INPUT_SIZE data points to predict the following time series of OUTPUT_SIZE data points using this type of model. Each data point has…
Alerra
  • 1,479
  • 11
  • 25
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
1 answer

Regression in DL4J - predict the next time-step

I have a multiLayer network trained, but I'm stuck on how to do a prediction for additional time-steps. I tried following the character iteration example by creating this method - public float[] sampleFromNetwork(INDArray testingData, int…
Jeremy
  • 2,970
  • 1
  • 26
  • 50
4
votes
0 answers

Installing a BLAS implementation on CentOS 6.4 (Cloudera VM)

I'm using deeplearning4j and eclipse on CentOS 6.4 (x86_64). I have downloaded and tried to install intel MKL, OpenBLAS and ATLAS. Yet I'm still getting this error when I run my program: Mar 23, 2016 5:58:04 AM com.github.fommil.netlib.BLAS…
3
votes
2 answers

Convert keras model in DL4J model

I have to save and load a keras model in java and then I thought I could use DL4J. The problem is that when I save my model it does not have the Embedding layer with his own weight. I have the same problem re-loading the model in keras but in this…
AM13
  • 661
  • 1
  • 8
  • 18
3
votes
2 answers

Android: ZipFile() java.util.zip.ZipException: File too short to be a zip file: 0

I am working on a project (Using Android Studio 3.1.4) that reads in a neural network that is stored as a .zip file, for further use with DL4J in Android. I am trying to open this .zip file located in my projects res\raw directory. For this I am…
Moritz
  • 1,710
  • 1
  • 8
  • 13
3
votes
1 answer

DL4J linear regression

I am new in neural networks. I am trying to implement and train simple neural network with DL4j. My function: y = x * 2 + 300 My vision My result Parameters: public final int seed = 12345; public final int iterations = 1; public final…
mabramyan
  • 59
  • 7
3
votes
1 answer

How to install the library Deeplearning4j with IntelliJ and Maven?

I'm trying to install the Deeplearning4j library ( https://deeplearning4j.org/index.html) but I don't understand how to use install the lib correctly with IntelliJ and Maven so that I can build a .jar file from it. As long as I'm running the…
Bohne
  • 173
  • 1
  • 7
  • 12
3
votes
1 answer

Install DL4J on Windows

I have just followed the steps given on: https://deeplearning4j.konduit.ai/getting-started/quickstart (cloning it from github, executing mvn clean install, import the project into IntelliJ) and I was able to run the examples in IntelliJ. However, I…
Peter
  • 43
  • 5
3
votes
0 answers

How to apply word2vec for k-means clustering?

I am new to word2vec. With applying this method, I am trying to form some clusters based on words extracted by word2vec from scientific publications' abstracts. To this end, I have first retrieved sentences from the abstracts via stanfordNLP and…
mlee_jordan
  • 772
  • 4
  • 18
  • 50
2
votes
2 answers

How to obtain data of filters of the convolution layers of the CNN network in DL4J to draw the activation map?

How to get filters data from the layer objects for the configuration and model like this? ComputationGraphConfiguration config = new NeuralNetConfiguration.Builder() .seed(seed) …
Eljah
  • 4,188
  • 4
  • 41
  • 85
2
votes
0 answers

How to prepare dataset for a multi-task-learning network with a yolo output layer?

I have a convolutional neural network with a Yolo output-layer and multiple regression output-layers(I just mapped extra output layers to a typical Yolo CNN) using a computation graph. The problem I have is with the dataset, for the Yolo output I…
linker
  • 821
  • 1
  • 8
  • 20
1
2 3
13 14