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

Predictions using Convolutional Neural Networks and DL4J

This is my first time working with DL4J (Deep Learning for Java) and also my first Convolutional Neural Network. My Goal is to use the Convolutional Neural Netowrk to give me some predicted values about an image. I gathered and labelled my images…
0
votes
1 answer

DL4j 1.0.0-Beta6 Openblas does not use more than one thread

On my testing-server DL4j 1.0.0-Beta6 with Openblas is only using one thread. Initially it was reporting on thread, so I exported OMP_NUM_THREADS=4, which made DL4j log the correct number of threads on startup: [:19:30 CET 2020]…
0
votes
1 answer

Why does DL4j 1.0.0-Beta6 not use MKL any more?

For me DL4j 1.0.0-Beta6 is not using Intel MKL any more: WARN 28823 --- [:54:17 UTC 2020] org.nd4j.linalg.factory.Nd4jBackend : Skipped [JCublasBackend] backend (unavailable): java.lang.UnsatisfiedLinkError:…
0
votes
0 answers

DL4J UnsatisfiedLinkError: libopenblas_nolapack.so.0: cannot open shared object file: No such file or directory

I tried to set up a deeplearning4j and OpenCV project on Linux via maven, but I get an UnsatisfiedLinkError: 2020-01-10 16:01:58.239 ERROR 13191 --- [io-13029-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet…
SPX-4800
  • 13
  • 1
  • 7
0
votes
1 answer

DL4J example on GPU doesn't work (for a school project)

I already have experience with deep learning. I use python and cuda works fine with my GPU when training a model. BUT, now I need to use Java (for an optional school project I want to create a reinforcement learning AI and I have to use Java). I'm…
plguillou
  • 38
  • 4
0
votes
1 answer

is there any solution regarding dl4j with cuda support for this problem?

I am trying to execute MultiGpuLenetMnistExample.java and i have received following error " ... 12:41:24.129 [main] INFO Test - Load data.... 12:41:24.716 [main] INFO Test - Build model.... 12:41:25.500 [main] INFO…
explorer
  • 15
  • 4
0
votes
0 answers

How to reconfigure YOLO2 output layer for a specific volume?

Hi dl4j stackers is it possible to get a yolo variant other than the 5 default params [x, y, w, h, p] here's what I have from the default dl4j-examples repo on github for a 13 x 13 grid-locked image ... graphBuilder.addLayer("convolution2d_23", …
linker
  • 821
  • 1
  • 8
  • 20
0
votes
1 answer

Is there any work around about nvidia cuda compiler with deeplearning4j?

updated my toolkit from 8.0 to 10.0 but with cuda 10.0 upon trying to initialise a computation graph I get the following error. ND4J CUDA build version: 10.0.130 CUDA device 0: [GeForce 940MX]; cc: [5.0]; Total memory:…
linker
  • 821
  • 1
  • 8
  • 20
0
votes
1 answer

"Why after remove columns text don't delete? in Dl4j transform"

"I'm trying to train NN, but have problems, with text in csv, so I decided to remove all text from it." "I'm trying to remove text from csv file, but text didn't removes" TransformProcess tp = new TransformProcess.Builder(schema) …
Lemair
  • 51
  • 9
0
votes
1 answer

Converting tensorflow keras LSTM model into .tflite or any working format

I have trouble transforming my model into a one that can be deployed on android app via android-studio. My model is construed as follows: model = Sequential() model.add(LSTM(70, activation='relu', input_shape=(n_steps,…
Sirko
  • 11
  • 1
0
votes
1 answer

Spark application stuck in Running state, Initial job has not accepted any resources

I'm working on a Distributed Deep learning project using Apache Hadoop, Spark and DL4J. My main issue is when starting my Application on spark it gets to Running state and never gets higher than 10% progress I get this Warning 2019-08-23…
0
votes
0 answers

What's the difference between MultiLayerSpace.Builder.layer() and MultiLayerSpace.Builder.addLayer() in DL4J?

I'm using Arbiter in DL4J for the first time to try and optimize a MultiLayerNetwork. My question is pretty straightforward: What is the difference between these two methods? MultiLayerSpace.Builder.addLayer(LayerSpace
henryz2003
  • 11
  • 2
0
votes
1 answer

Out of memory error when trying to allocate memory mapped INDArray

I'm trying to allocate a large memory-mapped 2d array that's larger than RAM and it keeps failing with an out of memory error. I'm using java8, linux-amd64 and nd4j 1.0.0-beta4. My understanding according to the docs…
0
votes
2 answers

Parsing a JSON with dl4j RecordReader

I plan to use dl4j on a dataset which is in the following format: {"articles": [{"abstractText":"text..", "journal":"journal..", "meshMajor":["mesh1",...,"meshN"], "pmid":"PMID", "title":"title..", "year":"YYYY"},..., {..}]} The field meshMajor…
0
votes
1 answer

Deeplearning4j Error: no jniopenblas in java.library.path

I first started using Deeplearning4j this weekend. I looked at the page at https://deeplearning4j.org/docs/latest/deeplearning4j-quickstart and saw the option for "Eclipse setup without Maven". Since I was used to using Eclipse and had never heard…
Clayton
  • 1
  • 1