From 4bfbb70fb53353f28530276e89b8e64a75aa8f84 Mon Sep 17 00:00:00 2001 From: Jaeyun Date: Thu, 22 Nov 2018 14:11:27 +0900 Subject: [PATCH] [Test] update git ignore add .xraw file and change temp file format in unit-test Signed-off-by: Jaeyun Jung --- .gitignore | 1 + tests/nnstreamer_decoder_image_labeling/runTest.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e7c2930..35a8259 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ /tests/*/*.golden /tests/*/*.png /tests/*/*.bmp +/tests/*/*.xraw /tests/performance *.dat /tests/bmp2png diff --git a/tests/nnstreamer_decoder_image_labeling/runTest.sh b/tests/nnstreamer_decoder_image_labeling/runTest.sh index e6fedf7..0c63910 100644 --- a/tests/nnstreamer_decoder_image_labeling/runTest.sh +++ b/tests/nnstreamer_decoder_image_labeling/runTest.sh @@ -22,7 +22,7 @@ testInit $1 PATH_TO_MODEL="../test_models/models/mobilenet_v1_1.0_224_quant.tflite" PATH_TO_LABEL="../test_models/labels/labels.txt" PATH_TO_IMAGE="img/orange.png" -PATH_TO_FILE="tensordecoder.txt" +PATH_TO_FILE="tensordecoder.log" gstTest "--gst-plugin-path=${PATH_TO_PLUGIN} filesrc location=\"${PATH_TO_IMAGE}\" ! pngdec ! videoscale ! imagefreeze ! videoconvert ! video/x-raw, format=RGB, framerate=0/1 ! tensor_converter ! tensor_filter framework=\"tensorflow-lite\" model=\"${PATH_TO_MODEL}\" ! tensor_decoder mode=image_labeling option1=\"${PATH_TO_LABEL}\" ! filesink location=\"${PATH_TO_FILE}\"" D1 0 0 $PERFORMANCE -- 2.7.4