Skip to content

Commit eabb7b9

Browse files
authored
Merge pull request #7 from behrica/v015
use v0.15.0
2 parents b7a0e7b + 4a070ef commit eabb7b9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

project.clj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
(defproject clj-djl/clj-djl "0.1.7"
1+
(defproject clj-djl/clj-djl "0.1.8-SNAPSHOT"
22
:description "A clojure lib wraps deep java learning(DJL.ai)"
33
:url "http://github.com/scicloj/clj-djl"
44
:license {:name "Apache License, Version 2.0"
55
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
66
:dependencies [[org.clojure/clojure "1.10.3"]
77
[org.slf4j/slf4j-api "1.7.32"]
8-
[ai.djl/api "0.13.0"]
9-
[ai.djl/model-zoo "0.13.0"]
10-
[ai.djl/basicdataset "0.13.0"]
11-
[ai.djl.mxnet/mxnet-engine "0.13.0"]
8+
[ai.djl/api "0.15.0"]
9+
[ai.djl/model-zoo "0.15.0"]
10+
[ai.djl/basicdataset "0.15.0"]
11+
[ai.djl.mxnet/mxnet-engine "0.15.0"]
1212
[ai.djl.mxnet/mxnet-native-auto "1.8.0"]
1313

14-
[net.mikera/core.matrix "0.62.0"]
14+
[net.mikera/core.matrix "0.62.0"]]
1515
;;[ai.djl.pytorch/pytorch-engine "0.8.0"]
1616
;;[ai.djl.pytorch/pytorch-native-auto "1.6.0"]
1717

1818
;;[ai.djl.tensorflow/tensorflow-engine "0.8.0"]
1919
;;[ai.djl.tensorflow/tensorflow-native-auto "2.3.0"]
20-
]
20+
2121
:plugins [[lein-localrepo "0.5.4"]]
2222
:source-paths ["src"]
2323
:main ^:skip-aot clj-djl.core

src/clj_djl/training.clj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@
6363
([topk]
6464
(TopKAccuracy. topk))
6565
([index topk]
66-
(TopKAccuracy. index topk))
66+
(TopKAccuracy. topk))
6767
([name index topk]
68-
(TopKAccuracy. name index topk)))
68+
(TopKAccuracy. name topk)))
6969

7070
(def new-topk-accuracy topk-accuracy)
7171

@@ -74,10 +74,10 @@
7474
(BinaryAccuracy.))
7575
([threshold]
7676
(BinaryAccuracy. threshold))
77-
([acc-name threshold index]
78-
(BinaryAccuracy. acc-name threshold index))
79-
([acc-name threshold index axis]
80-
(BinaryAccuracy. acc-name threshold index axis)))
77+
([acc-name threshold ]
78+
(BinaryAccuracy. acc-name threshold ))
79+
([acc-name threshold axis]
80+
(BinaryAccuracy. acc-name threshold axis)))
8181

8282
(def new-binary-accuracy binary-accuracy)
8383

0 commit comments

Comments
 (0)