Skip to content

Commit

Permalink
[fix/ml-svc-model] fix the rpk example
Browse files Browse the repository at this point in the history
- fix ml-svc-model/mobilenetv3-rpk
- the name and format of json file are modified.
  (model_description.json -> rpk_config.json)
- add metadata mlops key in tizen-manifest.xml

Signed-off-by: Suyeon Kim <suyeon5.kim@samsung.com>
  • Loading branch information
yeonykim2 authored and jaeyun-jung committed Apr 29, 2024
1 parent a5a1e14 commit d8ab9cc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Tizen.native/ml-svc-model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

### Scenario using [Tizen Resource Package](https://docs.tizen.org/application/tizen-studio/native-tools/rpk-package/)

1. When the org.resource.mobilenetv3 tizen resource package (rpk) is installed, a daemon running in the Tizen device registers model files based on the provided "model_description.json"
1. When the org.resource.mobilenetv3 tizen resource package (rpk) is installed, a daemon running in the Tizen device registers model files based on the provided "rpk_config.json"
2. Without any change to imgcls app, it uses newly installed model file.
![rpk](./mobilenetv3_600.png)

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"models": [
{
"name" : "imgcls-mobilenet-224-224-fp",
"model" : "lite-model_mobilenet_v3_large_100_224_fp32_1.tflite",
"description" : "Image classification model v1.0.0",
"activate" : "true"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns="http://tizen.org/ns/packages" api-version="6.5" package="org.resource.mobilenetv3" version="1.0.0" res-type="tizen.ai.model" res-version="1.5.0">
<allowed-package id="*"/>
<metadata key="http://tizen.org/metadata/mlops" value="SAMPLE"/>
</manifest>

0 comments on commit d8ab9cc

Please sign in to comment.