File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
- (defproject clj-djl /clj-djl " 0.1.7 "
1
+ (defproject clj-djl /clj-djl " 0.1.8-SNAPSHOT "
2
2
:description " A clojure lib wraps deep java learning(DJL.ai)"
3
3
:url " http://github.com/scicloj/clj-djl"
4
4
:license {:name " Apache License, Version 2.0"
5
5
:url " http://www.apache.org/licenses/LICENSE-2.0.html" }
6
6
:dependencies [[org.clojure/clojure " 1.10.3" ]
7
7
[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" ]
12
12
[ai.djl.mxnet/mxnet-native-auto " 1.8.0" ]
13
13
14
- [net.mikera/core.matrix " 0.62.0" ]
14
+ [net.mikera/core.matrix " 0.62.0" ]]
15
15
; ;[ai.djl.pytorch/pytorch-engine "0.8.0"]
16
16
; ;[ai.djl.pytorch/pytorch-native-auto "1.6.0"]
17
17
18
18
; ;[ai.djl.tensorflow/tensorflow-engine "0.8.0"]
19
19
; ;[ai.djl.tensorflow/tensorflow-native-auto "2.3.0"]
20
- ]
20
+
21
21
:plugins [[lein-localrepo " 0.5.4" ]]
22
22
:source-paths [" src" ]
23
23
:main ^:skip-aot clj-djl.core
Original file line number Diff line number Diff line change 63
63
([topk]
64
64
(TopKAccuracy. topk))
65
65
([index topk]
66
- (TopKAccuracy. index topk))
66
+ (TopKAccuracy. topk))
67
67
([name index topk]
68
- (TopKAccuracy. name index topk)))
68
+ (TopKAccuracy. name topk)))
69
69
70
70
(def new-topk-accuracy topk-accuracy )
71
71
74
74
(BinaryAccuracy. ))
75
75
([threshold]
76
76
(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)))
81
81
82
82
(def new-binary-accuracy binary-accuracy )
83
83
You can’t perform that action at this time.
0 commit comments