Skip to content

Commit 4d8974e

Browse files
committed
fix
Signed-off-by: Sun, Xuehao <[email protected]>
1 parent 0d7e50d commit 4d8974e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.azure-pipelines/scripts/models/run_onnxrt_models_trigger.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ for i in "$@"; do
1818
esac
1919
done
2020

21-
CONFIG_PATH=/neural-compressor/examples/.config/model_params_onnxrt.json
21+
CONFIG_PATH="/neural-compressor/examples/.config/model_params_onnxrt.json"
2222
model_src_dir=$(jq ".\"onnxrt\".\"$model\".\"model_src_dir\"" "$CONFIG_PATH")
2323
dataset_location=$(jq ".\"onnxrt\".\"$model\".\"dataset_location\"" "$CONFIG_PATH")
2424
input_model=$(jq ".\"onnxrt\".\"$model\".\"input_model\"" "$CONFIG_PATH")
@@ -46,7 +46,7 @@ function run_accuracy() {
4646
}
4747

4848
function main() {
49-
cd "$model_src_dir"
49+
cd "/neural-compressor/examples/$model_src_dir"
5050
if [ "$stage" == "prepare_model" ]; then
5151
run_prepare_model
5252
elif [ "$stage" == "quantize" ]; then

0 commit comments

Comments
 (0)