-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assets/Models: Add example configuration files for bundled models
This patch adds the example configuration files for the bundled model files, YoLo_v8s and MobileNet. Signed-off-by: Wook Song <[email protected]>
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
ml_inference_offloading/src/main/assets/models/mobilenet_v1_1.0_224_quant.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"single" : | ||
{ | ||
"framework" : "tensorflow-lite", | ||
"model" : ["../tests/test_models/models/mobilenet_v1_1.0_224_quant.tflite"], | ||
"input_info" : [ | ||
{ | ||
"type" : "uint8", | ||
"dimension" : "3:224:224:1" | ||
} | ||
], | ||
"output_info" : [ | ||
{ | ||
"type" : "uint8", | ||
"dimension" : "1001:1" | ||
} | ||
] | ||
}, | ||
"information" : | ||
{ | ||
"threshold" : "0.5", | ||
"description" : "Config file to run unittest for ml-extension." | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
ml_inference_offloading/src/main/assets/models/yolov8s_float32.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"single" : | ||
{ | ||
"framework" : "tensorflow-lite", | ||
"model" : "yolov8s_float32.tflite", | ||
"input_info" : [ | ||
{ | ||
"type" : "float32", | ||
"dimension" : "3:224:224:1" | ||
} | ||
], | ||
"output_info" : [ | ||
{ | ||
"type" : "float32", | ||
"dimension" : "1029:84:1" | ||
} | ||
] | ||
} | ||
} |