`run_benchmark_op.sh` is for benchmarking a given operator.
Models such as inception_nonslim, inception_slim and mobilenet are
located under MODELS, and executed from `run_benchmark_op.sh`.
Thus, `run_benchmark_op.sh` excludes models under `MODELS`.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
pushd $MODEL_TEST_ROOT_PATH > /dev/null
for DIR in $TEST_DIRS; do
if [ -d "$DIR" ]; then
- TESTS_FOUND=$(find "$DIR" -type f -name 'config.sh' -exec dirname {} \;| sed 's|^./||' | sort)
+ TESTS_FOUND=$(find "$DIR" -type f -name 'config.sh' -exec dirname {} \;| sed 's|^./||' | grep -v '^MODELS/' | sort)
TESTS_TO_RUN="$TESTS_TO_RUN $TESTS_FOUND"
fi
done