# Uncategorized

**URL:** https://community.konduit.ai/c/uncategorized/1.md?page=1

[Latest](https://community.konduit.ai/latest.md) · [Categories](https://community.konduit.ai/categories.md)

**Page:** 2

---

## [Dl4j-examples - clean build failure - missing org.deeplearning4j:resources:jar:1.0.0-SNAPSHOT](https://community.konduit.ai/t/dl4j-examples-clean-build-failure-missing-org-deeplearning4jjar-1-0-0-snapshot/2208)

<div class="topic-metadata">

**Author:** [@BrRoBo](https://community.konduit.ai/u/BrRoBo)\
**Replies:** 11\
**Last updated:** [January 27, 2023, 4:42pm UTC](https://community.konduit.ai/t/dl4j-examples-clean-build-failure-missing-org-deeplearning4jjar-1-0-0-snapshot/2208 "2023-01-27T16:42:36Z")

</div>

New to DL4J, I pulled down the entire deeplearning4j-examples for review. Following the basic steps from the tutorials quick-start (Quick Start - Deeplearning4j). Running on Windows 11, JDK 1.8, Maven 4.0 (latest) envi…

---

## [Deeplearning4j running in IntellijIDEA](https://community.konduit.ai/t/deeplearning4j-running-in-intellijidea/2205)

<div class="topic-metadata">

**Author:** [@Bob\_M](https://community.konduit.ai/u/Bob_M)\
**Replies:** 2\
**Last updated:** [January 23, 2023, 4:02am UTC](https://community.konduit.ai/t/deeplearning4j-running-in-intellijidea/2205 "2023-01-23T04:02:21Z")

</div>

Hi I have created a deeplearning4j project in IntellijIDEA When I try to run one of the main classes I get the following error message:- “Cannot run program “C:\\Program Files\\Java\\jdk-19.0.1+10\\bin\\java.exe” (in direc…

---

## [Clean maven install - error occurs](https://community.konduit.ai/t/clean-maven-install-error-occurs/2195)

<div class="topic-metadata">

**Author:** [@Bob\_M](https://community.konduit.ai/u/Bob_M)\
**Replies:** 14\
**Last updated:** [January 21, 2023, 11:45am UTC](https://community.konduit.ai/t/clean-maven-install-error-occurs/2195 "2023-01-21T11:45:45Z")

</div>

Hi I am attempting to install dl4j-examples (cloned from github.com The cloning appears to be fine I then cd dl4j-examples/dl4j-examples (where a POM file exists) I then ‘mvn clean install’ It appears to run OK for…

---

## [Pass float in java and get tf.float64 in python](https://community.konduit.ai/t/pass-float-in-java-and-get-tf-float64-in-python/2111)

<div class="topic-metadata">

**Author:** [@Booker](https://community.konduit.ai/u/Booker)\
**Replies:** 2\
**Last updated:** [December 14, 2022, 8:18am UTC](https://community.konduit.ai/t/pass-float-in-java-and-get-tf-float64-in-python/2111 "2022-12-14T08:18:10Z")

</div>

Python4j: I pass float in java and get tf.float64 in tf2 side, how to get it as tf.float32?

---

## [Clipping weights (via Constraints?)](https://community.konduit.ai/t/clipping-weights-via-constraints/2108)

<div class="topic-metadata">

**Author:** [@DonaldAlan](https://community.konduit.ai/u/DonaldAlan)\
**Replies:** 1\
**Last updated:** [December 14, 2022, 5:23am UTC](https://community.konduit.ai/t/clipping-weights-via-constraints/2108 "2022-12-14T05:23:32Z")

</div>

I’m trying to implement Wasserstein GAN in dl4j. Read-through: Wasserstein GAN It requires weight clipping. The python code for wgan has weights = \[np.clip(w, -self.clip\_value, self.clip\_value) for w in weights\]. Th…

---

## [NativeImageLoader's asMatrix doesn't seem to work for PNG images](https://community.konduit.ai/t/nativeimageloaders-asmatrix-doesnt-seem-to-work-for-png-images/2099)

<div class="topic-metadata">

**Author:** [@DonaldAlan](https://community.konduit.ai/u/DonaldAlan)\
**Replies:** 3\
**Last updated:** [December 14, 2022, 1:06am UTC](https://community.konduit.ai/t/nativeimageloaders-asmatrix-doesnt-seem-to-work-for-png-images/2099 "2022-12-14T01:06:16Z")

</div>

Using datavec’s NativeImageLoader’s asMatrix , when I convert any PNG image to an INDArray, the INDArray is entirely filled with value 6418. That seems wrong! If instead convert a JPG image to INDArray, the INDARRAY …

---

## [Train a neural network on mobile with DL4J?](https://community.konduit.ai/t/train-a-neural-network-on-mobile-with-dl4j/2102)

<div class="topic-metadata">

**Author:** [@Plumbum](https://community.konduit.ai/u/Plumbum)\
**Replies:** 3\
**Last updated:** [December 7, 2022, 11:53pm UTC](https://community.konduit.ai/t/train-a-neural-network-on-mobile-with-dl4j/2102 "2022-12-07T23:53:02Z")

</div>

I am new to DL4J and plan to train small neural networks from scratch on mobile devices, especially on Android. While the inference on mobile is nowadays quite popular, there seem to be only a few frameworks, such as Te…

---

## [Upcoming removal of modules and roadmap changes](https://community.konduit.ai/t/upcoming-removal-of-modules-and-roadmap-changes/1240)

<div class="topic-metadata">

**Author:** [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Replies:** 3\
**Last updated:** [November 21, 2022, 11:20pm UTC](https://community.konduit.ai/t/upcoming-removal-of-modules-and-roadmap-changes/1240 "2022-11-21T23:20:15Z")

</div>

Hello all, Just as a warning for the upcoming release. Many modules will be removed as they not maintained anymore. The high level modules removed include: Arbiter Jumpy Many datavec modules that didn’t really have u…

---

## [Release M2.1 has been published](https://community.konduit.ai/t/release-m2-1-has-been-published/1967)

<div class="topic-metadata">

**Author:** [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Replies:** 0\
**Last updated:** [August 17, 2022, 12:09pm UTC](https://community.konduit.ai/t/release-m2-1-has-been-published/1967 "2022-08-17T12:09:45Z")

</div>

Hello all, Release M2.1 has been published. Release notes can be found here: Highlights include cuda 11.4 and 11.6 support Requirements for java 11 Substantial op coverage for onnx import Fixes up an issue with sam…

---

## [combining two models](https://community.konduit.ai/t/combining-two-models/1940)

<div class="topic-metadata">

**Author:** [@mcstive](https://community.konduit.ai/u/mcstive)\
**Replies:** 1\
**Last updated:** [July 31, 2022, 12:26pm UTC](https://community.konduit.ai/t/combining-two-models/1940 "2022-07-31T12:26:43Z")

</div>

hello, I want to combine the model calculated on two different computers. The input attributes in these models are the same, only the values are different. how can I do that?

---

## [Compiling deeplearning4j with -Pcuda does not produce cuda artifacts](https://community.konduit.ai/t/compiling-deeplearning4j-with-pcuda-does-not-produce-cuda-artifacts/1926)

<div class="topic-metadata">

**Author:** [@chris2](https://community.konduit.ai/u/chris2)\
**Replies:** 5\
**Last updated:** [July 11, 2022, 8:20am UTC](https://community.konduit.ai/t/compiling-deeplearning4j-with-pcuda-does-not-produce-cuda-artifacts/1926 "2022-07-11T08:20:25Z")

</div>

Hello, I am working on compiling deeplearning4j for my specific architecture. In the top level directory I am running the command: mvn clean install -Pcuda -DskipTests -PskipTestResourceEnforcement=true -Djavacpp.platf…

---

## [Mac m1 chip run IrisClassifier error](https://community.konduit.ai/t/mac-m1-chip-run-irisclassifier-error/1909)

<div class="topic-metadata">

**Author:** [@wangsan](https://community.konduit.ai/u/wangsan)\
**Replies:** 1\
**Last updated:** [June 26, 2022, 8:15am UTC](https://community.konduit.ai/t/mac-m1-chip-run-irisclassifier-error/1909 "2022-06-26T08:15:47Z")

</div>

Run with mac m1 chip If compile with jdk(x86 not aarch64) , exceptions throws as below: Debug: Failed to load for libnd4jcpu: java.lang.UnsatisfiedLinkError: no libnd4jcpu in java.library.path Debug: Loading library…

---

## [DL4J Training UI Session](https://community.konduit.ai/t/dl4j-training-ui-session/1880)

<div class="topic-metadata">

**Author:** [@Justin](https://community.konduit.ai/u/Justin)\
**Replies:** 2\
**Last updated:** [June 3, 2022, 2:48am UTC](https://community.konduit.ai/t/dl4j-training-ui-session/1880 "2022-06-03T02:48:16Z")

</div>

Using DL4J Training UI, as following image. I got manay session. How can i identify which one is current training. Thank you very much.

---

## [About ResNet50, error in ZeroPaddingLayer.activate(ZeroPaddingLayer.java:96)](https://community.konduit.ai/t/about-resnet50-error-in-zeropaddinglayer-activate-zeropaddinglayer-java-96/1889)

<div class="topic-metadata">

**Author:** [@Justin](https://community.konduit.ai/u/Justin)\
**Replies:** 0\
**Last updated:** [June 3, 2022, 2:55am UTC](https://community.konduit.ai/t/about-resnet50-error-in-zeropaddinglayer-activate-zeropaddinglayer-java-96/1889 "2022-06-03T02:55:24Z")

</div>

Hi ALL, Fowllowing is my code about useing ResNet50 int i = 0; int inputShape = new int { CHANNELS, HEIGHT, WIDTH }; org.deeplearning4j.zoo.model.ResNet50 net = org.deeplearning4j.zoo.model.ResNet50.builder() .cach…

---

## [About CUDA support for 1.0.0-M2](https://community.konduit.ai/t/about-cuda-support-for-1-0-0-m2/1849)

<div class="topic-metadata">

**Author:** [@delphi\_tang](https://community.konduit.ai/u/delphi_tang)\
**Replies:** 8\
**Last updated:** [May 9, 2022, 4:24am UTC](https://community.konduit.ai/t/about-cuda-support-for-1-0-0-m2/1849 "2022-05-09T04:24:53Z")

</div>

Hello, everyone I’m new to DL4J, and I try to deploy CUDA-Backend for ND4J in pom.xml file on Windows 10. But, it is NOT workable for missing jnind4jcuda.dll. I serarch the Maven repository for nd4j-cuda-11.4, and I f…

---

## [Is this a issue for TransformProcess?](https://community.konduit.ai/t/is-this-a-issue-for-transformprocess/1855)

<div class="topic-metadata">

**Author:** [@delphi\_tang](https://community.konduit.ai/u/delphi_tang)\
**Replies:** 0\
**Last updated:** [May 9, 2022, 2:25am UTC](https://community.konduit.ai/t/is-this-a-issue-for-transformprocess/1855 "2022-05-09T02:25:46Z")

</div>

Hi, all I think this should be a typo error for TransformProcess.toYaml() implementation. It may be like the code below. public String toYaml() { try { return JsonMappers.getMapperYaml().writeValueAsStr…

---

## [Some questions with Yolo2OutputLayer sourcecode](https://community.konduit.ai/t/some-questions-with-yolo2outputlayer-sourcecode/1820)

<div class="topic-metadata">

**Author:** [@dgao](https://community.konduit.ai/u/dgao)\
**Replies:** 0\
**Last updated:** [April 10, 2022, 5:01am UTC](https://community.konduit.ai/t/some-questions-with-yolo2outputlayer-sourcecode/1820 "2022-04-10T05:01:00Z")

</div>

1:Line 332 //For any value v, d(I/U)/dv = (U \* dI/dv + I \* dU/dv) / U^2 should be //For any value v, d(I/U)/dv = (U \* dI/dv - I \* dU/dv) / U^2 ? 2:Line 241 and 245 mul lambdaNoObj two times, remove one place? 3:Line 49…

---

## [Safely close INDArray](https://community.konduit.ai/t/safely-close-indarray/1748)

<div class="topic-metadata">

**Author:** [@wcneill](https://community.konduit.ai/u/wcneill)\
**Replies:** 2\
**Last updated:** [January 12, 2022, 3:28pm UTC](https://community.konduit.ai/t/safely-close-indarray/1748 "2022-01-12T15:28:31Z")

</div>

Hello, I am getting a SonarQube warning that I need to close an instance of an INDArray. INDArray contingency = Nd4j.create(DataType.FLOAT, numUnique, numUnique); I see that a close() method is implemented but looking…

---

## [Keras model import problem: NHWC or NCHW](https://community.konduit.ai/t/keras-model-import-problem-nhwc-or-nchw/1714)

<div class="topic-metadata">

**Author:** [@YourPeer](https://community.konduit.ai/u/YourPeer)\
**Replies:** 2\
**Last updated:** [December 15, 2021, 2:55pm UTC](https://community.konduit.ai/t/keras-model-import-problem-nhwc-or-nchw/1714 "2021-12-15T14:55:35Z")

</div>

I have a problem, because the input data shape is NHWC, but the input data shape of imported Keras is NCHW, how can I solve this problem? ComputationGraph vgg16Transfer = new TransferLearning.GraphBuilder(simplemodel) …

---

## [Https://github.com/deeplearning4j/ relevant?](https://community.konduit.ai/t/https-github-com-deeplearning4j-relevant/1702)

<div class="topic-metadata">

**Author:** [@kgoderis](https://community.konduit.ai/u/kgoderis)\
**Replies:** 1\
**Last updated:** [December 13, 2021, 11:43am UTC](https://community.konduit.ai/t/https-github-com-deeplearning4j-relevant/1702 "2021-12-13T11:43:29Z")

</div>

What is the relation between https://github.com/deeplearning4j/ and the eclipse repo’s? I have noticed that Arbiter is only available in the above repo, not in the Eclipse one, but the above repo seems not to be maintai…

---

## [K-fold cross-validation for semantic segmentation in DL4J](https://community.konduit.ai/t/k-fold-cross-validation-for-semantic-segmentation-in-dl4j/1630)

<div class="topic-metadata">

**Author:** [@AbdelmajidB](https://community.konduit.ai/u/AbdelmajidB)\
**Replies:** 3\
**Last updated:** [November 5, 2021, 7:59am UTC](https://community.konduit.ai/t/k-fold-cross-validation-for-semantic-segmentation-in-dl4j/1630 "2021-11-05T07:59:47Z")

</div>

I have a model for semantic segmentation based on U-net, the code of loading the data and training is available here : https://gist.github.com/AbdelmajidB/63cc58e46e3b6cd3ed867294ebbff158, which works very well. Now i wa…

---

## [How to Increase the Dataset using image augmentation?](https://community.konduit.ai/t/how-to-increase-the-dataset-using-image-augmentation/1664)

<div class="topic-metadata">

**Author:** [@Irsyad21](https://community.konduit.ai/u/Irsyad21)\
**Replies:** 1\
**Last updated:** [October 27, 2021, 12:43pm UTC](https://community.konduit.ai/t/how-to-increase-the-dataset-using-image-augmentation/1664 "2021-10-27T12:43:29Z")

</div>

Hello guys, does anyone of you know how to increase the dataset by using image augmentation?

---

## [BertIterator for own model to train](https://community.konduit.ai/t/bertiterator-for-own-model-to-train/1632)

<div class="topic-metadata">

**Author:** [@thomas](https://community.konduit.ai/u/thomas)\
**Replies:** 2\
**Last updated:** [October 11, 2021, 2:09pm UTC](https://community.konduit.ai/t/bertiterator-for-own-model-to-train/1632 "2021-10-11T14:09:31Z")

</div>

Hey, i tried to build my own computation graph to get trained by a bertiterator. My BertIterator init looks like this now: BertIterator iter = new BertIterator.Builder() .tokenizer(tokenizerFactory) .lengthHandling(…

---

## [Jaccard index for image binary segmentation evaluation in dl4j](https://community.konduit.ai/t/jaccard-index-for-image-binary-segmentation-evaluation-in-dl4j/1624)

<div class="topic-metadata">

**Author:** [@AbdelmajidB](https://community.konduit.ai/u/AbdelmajidB)\
**Replies:** 2\
**Last updated:** [October 4, 2021, 4:30pm UTC](https://community.konduit.ai/t/jaccard-index-for-image-binary-segmentation-evaluation-in-dl4j/1624 "2021-10-04T16:30:55Z")

</div>

Please i want to use jaccard index (Metrics to Evaluate your Semantic Segmentation Model | by Ekin Tiu | Towards Data Science) for image binary segmentation evaluation in dl4j, please how i can use it with the other metr…

---

## [Plot custom metrisc along with the score](https://community.konduit.ai/t/plot-custom-metrisc-along-with-the-score/1591)

<div class="topic-metadata">

**Author:** [@Alexander](https://community.konduit.ai/u/Alexander)\
**Replies:** 1\
**Last updated:** [September 27, 2021, 6:01am UTC](https://community.konduit.ai/t/plot-custom-metrisc-along-with-the-score/1591 "2021-09-27T06:01:09Z")

</div>

Hi folks, is it possible to plot custom metrics along with the score in the DL4J UI? Or does it take to write custom plotter and feed the score?

---

## [Load 3D image and 3D label for image classification](https://community.konduit.ai/t/load-3d-image-and-3d-label-for-image-classification/1613)

<div class="topic-metadata">

**Author:** [@FanDev](https://community.konduit.ai/u/FanDev)\
**Replies:** 1\
**Last updated:** [September 27, 2021, 5:56am UTC](https://community.konduit.ai/t/load-3d-image-and-3d-label-for-image-classification/1613 "2021-09-27T05:56:48Z")

</div>

Hi all, I was trying to construct a workflow to train a UNET model for image segmentation. I have learned different dataSetIterator and ImageRecordReader from dl4j.examples or other online forums. But still confused abou…

---

## [How to "Add" multiple layers in a CNN architecture?](https://community.konduit.ai/t/how-to-add-multiple-layers-in-a-cnn-architecture/1603)

<div class="topic-metadata">

**Author:** [@FanDev](https://community.konduit.ai/u/FanDev)\
**Replies:** 3\
**Last updated:** [September 17, 2021, 12:40am UTC](https://community.konduit.ai/t/how-to-add-multiple-layers-in-a-cnn-architecture/1603 "2021-09-17T00:40:12Z")

</div>

Hi, I have a question to implement “Add” in DL4J: In Python, in my CNN model, I use “Add” to add several convolution layers together (same output form), such as: layer\_all\_added = add(\[layer1, layer2, layer3\]) then la…

---

## [Implementation of Uncertainty-aware Attention mechanism](https://community.konduit.ai/t/implementation-of-uncertainty-aware-attention-mechanism/1587)

<div class="topic-metadata">

**Author:** [@jfarjona](https://community.konduit.ai/u/jfarjona)\
**Replies:** 1\
**Last updated:** [September 10, 2021, 11:12pm UTC](https://community.konduit.ai/t/implementation-of-uncertainty-aware-attention-mechanism/1587 "2021-09-10T23:12:36Z")

</div>

Hello guys, do you have/know of an implementation in DL4J of the Uncertainty Aware Attention model in DL4J? See: https://arxiv.org/pdf/1805.09653.pdf Couldn’t find much googling it. There is an implementation in Tens…

---

## [Upcoming namespace change and other news](https://community.konduit.ai/t/upcoming-namespace-change-and-other-news/1595)

<div class="topic-metadata">

**Author:** [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Replies:** 0\
**Last updated:** [September 10, 2021, 10:54pm UTC](https://community.konduit.ai/t/upcoming-namespace-change-and-other-news/1595 "2021-09-10T22:54:07Z")

</div>

Hello all, As announced with the M1 change, we will be renamespacing to org.eclipse.deeplearning4j. In light of the upcoming change we will also be moving the framework to 1.0.0. New features will of course continue to…

---

## [Multiple NN copies running in Scala Futures - Benchmarking](https://community.konduit.ai/t/multiple-nn-copies-running-in-scala-futures-benchmarking/1583)

<div class="topic-metadata">

**Author:** [@sachag678](https://community.konduit.ai/u/sachag678)\
**Replies:** 10\
**Last updated:** [August 25, 2021, 2:33pm UTC](https://community.konduit.ai/t/multiple-nn-copies-running-in-scala-futures-benchmarking/1583 "2021-08-25T14:33:13Z")

</div>

Using: beta-7 version. I’m running a program where I have copies of the same NN performing inference using Scala Futures. The copies are created using model.clone(). Each future gets it’s own model copy. I’m comparing t…

[Previous page](https://community.konduit.ai/c/uncategorized/1.md)

[Next page](https://community.konduit.ai/c/uncategorized/1.md?page=2)
