forked from mindspore-Ecosystem/mindspore
!48226 [MS][LITE][parallel predict] Model API: Add java ST
Merge pull request !48226 from yefeng/512-Add_java_model_ST
This commit is contained in:
commit
07992a01b2
|
@ -1 +1,2 @@
|
|||
yolox.onnx;1:input;1,3,640,640;;
|
||||
screenshot_text_location_220613_100.onnx;1:input_images;1,3,1024,1024;;
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
yolox.onnx;1:input;1,3,640,640;;
|
||||
screenshot_text_location_220613_100.onnx;1:input_images;1,3,1024,1024;;
|
||||
|
|
|
@ -160,7 +160,6 @@ public class Benchmark {
|
|||
runner.free();
|
||||
return;
|
||||
}
|
||||
System.out.println("========== model parallel runner predict success ==========");
|
||||
config.free();
|
||||
for (int i = 0; i < inputs.size(); i++) {
|
||||
inputs.get(i).free();
|
||||
|
@ -169,7 +168,7 @@ public class Benchmark {
|
|||
outputs.get(i).free();
|
||||
}
|
||||
runner.free();
|
||||
return;
|
||||
System.out.println("========== model parallel runner predict success ==========");
|
||||
}
|
||||
|
||||
MSContext context = new MSContext();
|
||||
|
|
Loading…
Reference in New Issue