This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 4d75474  camel-djl: remove commented code and fix broken links in 
documentation (#6156)
4d75474 is described below

commit 4d7547456b4216d31ccf438f003709d56e2f8599
Author: Otavio Rodolfo Piske <orpi...@users.noreply.github.com>
AuthorDate: Thu Sep 23 19:25:59 2021 +0200

    camel-djl: remove commented code and fix broken links in documentation 
(#6156)
---
 components/camel-djl/src/main/docs/djl-component.adoc               | 6 +++---
 .../camel/component/djl/model/ZooImageClassificationPredictor.java  | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/components/camel-djl/src/main/docs/djl-component.adoc 
b/components/camel-djl/src/main/docs/djl-component.adoc
index f4e07da..32a2664 100644
--- a/components/camel-djl/src/main/docs/djl-component.adoc
+++ b/components/camel-djl/src/main/docs/djl-component.adoc
@@ -109,7 +109,7 @@ It will automatically determine the appropriate jars for 
your system based on th
     </dependency>
 ----
 
-More information about 
https://github.com/awslabs/djl/blob/master/mxnet/mxnet-engine/README.md#installation[MxNet
 engine installation]
+More information about https://docs.djl.ai/engines/mxnet/index.html[MxNet 
engine installation]
 
 === PyTorch engine
 
@@ -138,7 +138,7 @@ It will automatically determine the appropriate jars for 
your system based on th
     </dependency>
 ----
 
-More information about 
https://github.com/awslabs/djl/blob/master/pytorch/pytorch-engine/README.md#installation[PyTorch
 engine installation]
+More information about https://docs.djl.ai/engines/pytorch/index.html[PyTorch 
engine installation]
 
 === Tensorflow engine
 
@@ -167,7 +167,7 @@ It will automatically determine the appropriate jars for 
your system based on th
     </dependency>
 ----
 
-More information about 
https://github.com/awslabs/djl/tree/master/tensorflow#installation[Tensorflow 
engine installation]
+More information about 
https://docs.djl.ai/engines/tensorflow/index.html[Tensorflow engine 
installation]
 
 
 
diff --git 
a/components/camel-djl/src/main/java/org/apache/camel/component/djl/model/ZooImageClassificationPredictor.java
 
b/components/camel-djl/src/main/java/org/apache/camel/component/djl/model/ZooImageClassificationPredictor.java
index c335a32..a033437 100644
--- 
a/components/camel-djl/src/main/java/org/apache/camel/component/djl/model/ZooImageClassificationPredictor.java
+++ 
b/components/camel-djl/src/main/java/org/apache/camel/component/djl/model/ZooImageClassificationPredictor.java
@@ -52,7 +52,6 @@ public class ZooImageClassificationPredictor extends 
AbstractPredictor {
                 .optProgress(new ProgressBar())
                 .build();
         this.model = ModelZoo.loadModel(criteria);
-        //        model.save(Paths.get("src/test/resources/models/mnist"), 
"mlp");
     }
 
     @Override

Reply via email to