From: MyungJoo Ham Date: Sat, 13 Oct 2018 07:14:21 +0000 (+0900) Subject: [Utility] For demo, create a shell script loading model/label X-Git-Tag: v0.0.2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff281c5ee55dffe66c6eaad876e6234b72d02a88;p=platform%2Fupstream%2Fnnstreamer.git [Utility] For demo, create a shell script loading model/label For the demonstration, provide a shell script that gets the standard example tflite model and its labeling file Signed-off-by: MyungJoo Ham --- diff --git a/common/getTestModels.sh b/common/getTestModels.sh new file mode 100755 index 0000000..c81248c --- /dev/null +++ b/common/getTestModels.sh @@ -0,0 +1,13 @@ +#!/bin/bash +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" +if [[ $# -eq 0 ]]; then + TARGET="tflite_model" +else + TARGET="$1" +fi + +mkdir -p ${TARGET} +pushd ${TARGET} + ln -s ${DIR}/../tests/nnstreamer_filter_tensorflow_lite/models/mobilenet_v1_1.0_224_quant.tflite . + ln -s ${DIR}/../tests/nnstreamer_filter_tensorflow_lite/labels/labels.txt . +popd