From 857fd2e46c35545b8614c3fd14cb1adc85ae6992 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Tue, 12 Oct 2021 14:44:29 +0800 Subject: [PATCH] delete debug --- tests/debug.sh | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 tests/debug.sh diff --git a/tests/debug.sh b/tests/debug.sh deleted file mode 100644 index bd2ec1ca..00000000 --- a/tests/debug.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -FILENAME=$1 -# MODE be one of ['lite_train_infer' 'whole_infer' 'whole_train_infer', 'infer', 'cpp_infer', 'serving_infer'] -MODE=$2 -if [ ${MODE} = "cpp_infer" ]; then - dataline=$(awk 'NR==52, NR==66{print}' $FILENAME) -elif [ ${MODE} = "serving_infer" ]; then - dataline=$(awk 'NR==67, NR==81{print}' $FILENAME) -else - dataline=$(awk 'NR==1, NR==51{print}' $FILENAME) -fi -count=0 -for line in ${dataline[*]}; do - let count++ - echo $count $line -done -- GitLab