diff --git a/Tizen.native/ml-svc-model/README.md b/Tizen.native/ml-svc-model/README.md index ff93e0ed..f2a795d8 100644 --- a/Tizen.native/ml-svc-model/README.md +++ b/Tizen.native/ml-svc-model/README.md @@ -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) diff --git a/Tizen.native/ml-svc-model/mobilenetv3-rpk/res/global/tizen.ai.model/model_description.json b/Tizen.native/ml-svc-model/mobilenetv3-rpk/res/global/tizen.ai.model/model_description.json deleted file mode 100644 index 7f2989a7..00000000 --- a/Tizen.native/ml-svc-model/mobilenetv3-rpk/res/global/tizen.ai.model/model_description.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - { - "name" : "imgcls-mobilenet-224-224-fp", - "shared" : "true", - "model" : "lite-model_mobilenet_v3_large_100_224_fp32_1.tflite", - "version" : "1.0.0", - "description" : "Image classification model" - } -] diff --git a/Tizen.native/ml-svc-model/mobilenetv3-rpk/res/global/tizen.ai.model/rpk_config.json b/Tizen.native/ml-svc-model/mobilenetv3-rpk/res/global/tizen.ai.model/rpk_config.json new file mode 100644 index 00000000..f5c2f89e --- /dev/null +++ b/Tizen.native/ml-svc-model/mobilenetv3-rpk/res/global/tizen.ai.model/rpk_config.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/Tizen.native/ml-svc-model/mobilenetv3-rpk/tizen-manifest.xml b/Tizen.native/ml-svc-model/mobilenetv3-rpk/tizen-manifest.xml index 08634a18..905a6a16 100644 --- a/Tizen.native/ml-svc-model/mobilenetv3-rpk/tizen-manifest.xml +++ b/Tizen.native/ml-svc-model/mobilenetv3-rpk/tizen-manifest.xml @@ -1,4 +1,5 @@ +