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

How do I install/use nd4j?

I've been working on a project for a while and determined that it would be made much faster with the use of nd4j. I have spent many hours trying to use this library, but I always find more dependencies and errors. I started in Processing, but when…
0
votes
1 answer

Deeplearning4j - 1.0.0-M1.1 with Cuda - cudaGetSymbolAddress(...) failed error

I am getting the error as per showed in title. I have searched in Stackoverflow and other people have been through by the same problem in previous versions. In an answer was said that would be solved in a next version of DL4J and it seems that it…
neyanog
  • 13
  • 3
0
votes
2 answers

Deeplearning4J nd4j-native.properties cannot be opened because it does not exist

When I used DL4J(version 1.0.0-M1.1) on android studio, it says that "nd4j-native.properties cannot be opened because it does not exist".However if I used on IDEA or the version was 1.0.0-beta7, the error did not occurred.
tb06077
  • 3
  • 1
0
votes
1 answer

Deeplearning4J MultiLayerConfiguration settings for a two class logistic regression model

I am attempting to build a two class logistic regression model but am unsure of the best method for a two class model. I am working with data that looks like this: Feature a Feature b Feature…
0
votes
1 answer

DL4J Load Array of Arrays as DataSet

If I want to load a DataSet from an array of doubles (e.g. {1, 2, 3, 4} in a text file with DL4j, I use this code: int numLinesToSkip = 0; char delimiter = ','; String filePath = "data.txt"; File file…
Joehot200
  • 1,070
  • 15
  • 44
0
votes
1 answer

Export Word2Vec from dl4j to vector.tsv and metadata.tsv for tensorflow Embedding projector?

I have trained a Word2Vec embedding using deeplearning4j. How can I export the resulting Word2Vec model to a vectors.tsv and metadata.tsv so I can visualize it using the https://projector.tensorflow.org/ ?
Rob Audenaerde
  • 19,195
  • 10
  • 76
  • 121
0
votes
1 answer

DeepLearning4J: wrong shape of weights array

I have a model that was constructed and trained with Tensorflow in Python, and I need to use it in Java with Eclipse. Its configuration looks as follows: ### define model model = keras.Sequential() ## leakage of the leaky relu LRU = 0.01 ### the…
0
votes
1 answer

Deeplearning4j - how to iterate multiple DataSets for large data?

I'm studying Deeplearning4j (ver. 1.0.0-M1.1) for building neural networks. I use IrisClassifier from Deeplearning4j as an example, it works fine: //First: get the dataset using the record reader. CSVRecordReader handles loading/parsing int…
apollox
  • 101
  • 7
0
votes
0 answers

deepfacelab ImportError: DLL load failed: The specified module could not be found

I'm here trying to use deepface lab and got stuck in this error while trying run second step: Couldn't find how to solve this. When I try to run step 2 Extract image from video data_src, I'm getting error in command prompt. Process…
raju
  • 23
  • 1
  • 1
  • 8
0
votes
1 answer

Deeplearning4j - how to use saved model?

I'm studing Deeplearning4j (ver. 1.0.0-M1.1) for building neural networks. I use IrisClassifier from Deeplearning4j as an example. //First: get the dataset using the record reader. CSVRecordReader handles loading/parsing int numLinesToSkip = 0; char…
apollox
  • 101
  • 7
0
votes
2 answers

Why does my deep-learning model give this ValueError?

I am trying to create a deep learning model to identify person with mask or without mask but unfortunately i got this error /usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training.py:1940: UserWarning: `Model.fit_generator` is…
0
votes
1 answer

DeepLearning4j NN for prediction function doesn't converge

I'm trying to do a simple prediction in DL4j (going to use it later for a large dataset with n features) but no matter what I do my network just doesn't want to learn and behaves very weird. Of course I studied all the tutorials and did the same…
BigEl
  • 13
  • 1
  • 4
0
votes
0 answers

In DL4J, is there a way to ignore columns for training/scoring without removing them so they can be accessed later?

In DL4J, is there a way to access the columns of preprocessed data after at the scoring step? I have a case where I have a csv of data that includes fields that are not used by the neural net for prediction, but they are important to include in my…
0
votes
1 answer

Change this Python Keras code to DeepLearning4j code

So it looks like tensorflow for Python and the currently released Jython version aren't compatible, so I'm writing my AI model (a GAN) in Java. I'm following a python guide in Keras and Tensorflow for my GAN model. I've figured out how to set up my…
0
votes
0 answers

How to resolve this error : RuntimeError: unexpected EOF, expected 1362420 more bytes. The file might be corrupted.`

I tried to execute loho.py and I got this error '''This is the error msg : Setting up Perceptual loss... Loading model from: /content/LOHO/networks/lpips/weights/v0.1/vgg.pth ...[net-lin [vgg]] initialized ...Done Setting up Perceptual loss...…