From 50768f9bef1a45cd17b40880b1624437ac85253a Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 22 Apr 2021 02:44:39 +0000 Subject: [PATCH] chore: remove iteration echo --- runtime/experiments/applications/ocr/by_dpi/run.sh | 1 - runtime/experiments/applications/ocr/by_font/run.sh | 1 - runtime/experiments/applications/ocr/by_word/run.sh | 3 --- runtime/experiments/applications/ocr/fivebyeight/run.sh | 1 - runtime/experiments/applications/ocr/handwriting/run.sh | 1 - runtime/experiments/applications/ocr/hyde/run.sh | 1 - 6 files changed, 8 deletions(-) diff --git a/runtime/experiments/applications/ocr/by_dpi/run.sh b/runtime/experiments/applications/ocr/by_dpi/run.sh index 72df78d..7725cee 100755 --- a/runtime/experiments/applications/ocr/by_dpi/run.sh +++ b/runtime/experiments/applications/ocr/by_dpi/run.sh @@ -28,7 +28,6 @@ dpi_to_port[144]=10002 total_count=100 for ((i = 0; i < total_count; i++)); do - echo "$i" words="$(shuf -n"$word_count" /usr/share/dict/american-english)" for dpi in "${dpis[@]}"; do diff --git a/runtime/experiments/applications/ocr/by_font/run.sh b/runtime/experiments/applications/ocr/by_font/run.sh index ca2f8be..f706b27 100755 --- a/runtime/experiments/applications/ocr/by_font/run.sh +++ b/runtime/experiments/applications/ocr/by_font/run.sh @@ -22,7 +22,6 @@ fonts=("DejaVu Sans Mono" "Roboto" "Cascadia Code") total_count=10 for ((i = 1; i <= total_count; i++)); do - echo "Test $i" words="$(shuf -n"$word_count" /usr/share/dict/american-english)" for font in "${fonts[@]}"; do diff --git a/runtime/experiments/applications/ocr/by_word/run.sh b/runtime/experiments/applications/ocr/by_word/run.sh index ed0e7e6..317c6fd 100755 --- a/runtime/experiments/applications/ocr/by_word/run.sh +++ b/runtime/experiments/applications/ocr/by_word/run.sh @@ -27,8 +27,6 @@ word_count_to_port["100_words.pnm"]=10002 total_count=100 for ((i = 0; i < total_count; i++)); do - echo "$i" - for word_count in "${word_counts[@]}"; do echo "${word_count}"_words.pnm words="$(shuf -n"$word_count" /usr/share/dict/american-english)" @@ -43,7 +41,6 @@ for ((i = 0; i < total_count; i++)); do diff -ywBZE --suppress-common-lines <(echo "$words") <(echo "$result") echo "===============================================" done - done if [ "$1" != "-d" ]; then diff --git a/runtime/experiments/applications/ocr/fivebyeight/run.sh b/runtime/experiments/applications/ocr/fivebyeight/run.sh index 722ed7f..96b9c86 100755 --- a/runtime/experiments/applications/ocr/fivebyeight/run.sh +++ b/runtime/experiments/applications/ocr/fivebyeight/run.sh @@ -40,7 +40,6 @@ success_count=0 total_count=50 for ((i = 0; i < total_count; i++)); do - echo "$i" result=$(curl -H 'Expect:' -H "Content-Type: text/plain" --data-binary "@5x8.pnm" localhost:10000 2> /dev/null) # echo "$result" if [[ "$result" == "$expected_result" ]]; then diff --git a/runtime/experiments/applications/ocr/handwriting/run.sh b/runtime/experiments/applications/ocr/handwriting/run.sh index 6a2fa00..fefe210 100755 --- a/runtime/experiments/applications/ocr/handwriting/run.sh +++ b/runtime/experiments/applications/ocr/handwriting/run.sh @@ -40,7 +40,6 @@ success_count=0 total_count=50 for ((i = 0; i < total_count; i++)); do - echo "$i" result=$(curl -H 'Expect:' -H "Content-Type: text/plain" --data-binary "@handwrt1.pnm" localhost:10000 2> /dev/null) # echo "$result" if [[ "$result" == "$expected_result" ]]; then diff --git a/runtime/experiments/applications/ocr/hyde/run.sh b/runtime/experiments/applications/ocr/hyde/run.sh index a0c59b7..b059c22 100755 --- a/runtime/experiments/applications/ocr/hyde/run.sh +++ b/runtime/experiments/applications/ocr/hyde/run.sh @@ -39,7 +39,6 @@ success_count=0 total_count=50 for ((i = 0; i < total_count; i++)); do - echo "$i" result=$(curl -H 'Expect:' -H "Content-Type: text/plain" --data-binary "@hyde.pnm" localhost:10000 2> /dev/null) # echo "$result" if [[ "$result" == "$expected_result" ]]; then