Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Commit 41d15d5

Browse files
committed
fix(djl): set onnxengine manually
1 parent a9b01f0 commit 41d15d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ltd/guimc/dlm/DLModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static void init() {
4242
Files.copy(modelStream, tempFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
4343

4444
// 使用 DJL (Deep Java Library) 加载 ONNX 模型
45-
model = Model.newInstance("Nailong");
45+
model = Model.newInstance("Onnx");
4646
model.load(tempFile.toPath());
4747

4848
// 初始化模型

0 commit comments

Comments
 (0)