Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Sun, Xuehao <[email protected]>
  • Loading branch information
XuehaoSun committed Jun 24, 2024
1 parent e3dfcef commit d09ef2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function run_quantize() {
--algorithm=WOQ_TUNE
}

function run_accuray() {
function run_accuracy() {
bash run_benchmark.sh --input_model="./model_tune" \
--batch_size="$batch_size" \
--mode=accuracy \
Expand All @@ -52,7 +52,7 @@ function main() {
elif [ "$stage" == "quantize" ]; then
run_quantize
elif [ "$stage" == "accuracy" ]; then
run_accuray
run_accuracy
else
exit 1
fi
Expand Down
6 changes: 3 additions & 3 deletions .azure-pipelines/scripts/models/run_onnxrt_models_trigger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function run_quantize() {
--output_model="./model_tune"
}

function run_accuray() {
function run_accuracy() {
bash run_benchmark.sh --input_model="./model_tune" \
--dataset_location=$dataset_location \

Check warning on line 43 in .azure-pipelines/scripts/models/run_onnxrt_models_trigger.sh

View workflow job for this annotation

GitHub Actions / Optional Lint

[shellcheck] reported by reviewdog 🐶 Double quote to prevent globbing and word splitting. Raw Output: ./.azure-pipelines/scripts/models/run_onnxrt_models_trigger.sh:43:28: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
--label_path="$model" \
Expand All @@ -52,9 +52,9 @@ function main() {
elif [ "$stage" == "quantize" ]; then
run_quantize
elif [ "$stage" == "accuracy" ]; then
run_accuray "accuracy"
run_accuracy "accuracy"
elif [ "$stage" == "performance" ]; then
run_accuray "performance"
run_accuracy "performance"
else
exit 1
fi
Expand Down

0 comments on commit d09ef2e

Please sign in to comment.