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

OpenBLAS preset in the DL4J library for Android

I am trying to run OpenBLAS preset in the DL4J library but i am having a problem in SetNumThreads.allocate() the library implementation in build.gradle: implementation group: 'org.bytedeco.javacpp-presets', name: 'openblas', version:…
Jay
  • 21
  • 3
2
votes
0 answers

java.lang.RuntimeException: java.lang.UnsupportedOperationExceptionat error while training GloVe with DL4j

I want to work with GloVe embedding on English sentences. While training it is showing error "java.lang.RuntimeException: java.lang.UnsupportedOperationExceptionat" Glove embedding is unsupervised model to encode English text into vectors. Dl4j is…
2
votes
1 answer

How to use an existing DL4J trained model to classify new input

I have a DL4J LSTM model that generates a binary classification of sequential input. i have trained and tested the model and am happy with the precision/recall. Now I want to use this model to predict the binary classification of new inputs. How…
WaterBoy
  • 697
  • 3
  • 13
  • 35
2
votes
2 answers

Deeplearning4j (DL4J) low precision, recall and F1

I am going to use DL4J for finding a good model against a conditional matrix. I have prepared the CSV-like dataset (sample as at below) and after fine tuned the hyperparamaters and trained the model for many times, I still cannot get an reasonable…
CHI WAI HO
  • 21
  • 2
2
votes
0 answers

Using DL4J in Scala and no backend found

I'm writing a simple scala project for dl4j. I need to switch between cuda (for training) and native for production. I seem to have a problem using native in an assembled jar. I get the below error: Exception in thread "main"…
Thomas Luechtefeld
  • 1,316
  • 15
  • 23
2
votes
1 answer

occurrences cannot be negative error

Hell, Im running a simple regression.My network configuration is as below MultiLayerConfiguration conf = new NeuralNetConfiguration.Builder() .seed(seed) .iterations(1) …
2
votes
0 answers

Improving DL4J Text Classification accuracy with ParagraphVectors

I have a training dataset of 1,00,000+ documents categorised into around 100 categories. I am trying to predict category for a text using DeepLearning4java library, code based on ParagraphVectorsClassifierExample example. Each document is a single…
Gopi
  • 10,073
  • 4
  • 31
  • 45
2
votes
2 answers

Initialize custom weights in deeplearning4j

I'm trying to implement something like this https://www.youtube.com/watch?v=Fp9kzoAxsA4 which is a GANN (Genetic Algorithm Neural Network) using DL4J library. Genetic learning variables: Genes: Creature Neural Network weights Fitness: Total…
Kareem Mohamed
  • 251
  • 3
  • 14
2
votes
1 answer

Error on non English satisfying sentence DL4J and NLP

I am trying to run the sample program from the Dl4J examples. Here is the program:…
Jaffer Wilson
  • 7,029
  • 10
  • 62
  • 139
1
vote
0 answers

How to code a RNN model using LSTM from deeplearning4j (DL4J) for regression to predict speed of a vehicle?

I'm new to DL4J and I need to code a RNN with LSTM to predict the future value of the speed of a moving vehicle. I have only one input which is the the time index and one output which is the speed. I've been researching for a while now on this, but…
NX20
  • 11
  • 1
1
vote
1 answer

Could not initialize class org.nd4j.linalg.factory.Nd4j in docker container

I am trying to import a KERAS file in a docker container with a program that has the following java code sample: String weights = getFile(_modelFile).getAbsolutePath(); String modelConfiguration = getFile(_configFile).getAbsolutePath(); _model =…
Elkin
  • 880
  • 2
  • 12
  • 26
1
vote
1 answer

Maven Build for specific OS and Architecture | abiFilters equivalent for maven

Maven is generating a JAR that is too big (~1.1GB) for a simple 20 line function, possibly because it includes dependences that are not necessary for my run-time environments (macosx-x86_64 and linux-arm64). How do I generate a JAR using maven for…
kesari
  • 536
  • 1
  • 6
  • 16
1
vote
0 answers

Trouble installing javafx and dl4j together with gradle

So I'm trying to use javafx and dl4j in my application for which I use gradle to manage my dependencies. For javafx I just add it as a gradle plugin and require the modules in my module-info.java, dl4j is just added as a regular dependency. The…
1
vote
0 answers

NoClassDefFoundError for ValueExtractorManager when using DL4J with JDK 1.8.265

I receive java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.valueextraction.ValueExtractorManager when using JDK version 1.8.0_265 and having one or more DL4J dependencies (version 1.0.0-beta7) in my…
Svetlana Guma
  • 37
  • 1
  • 7
1
vote
0 answers

Does DL4J supports on device model retraining

I am trying to deploy a pretrained model on a android application . Now, the need is to retrain the model with the data captured locally. Specifically what is happening is, There is a pretrained dnn model which predicts the quality of a video seeing…
1
2
3
13 14