Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Sun, Xuehao <[email protected]>
  • Loading branch information
XuehaoSun committed Jun 28, 2024
1 parent 4d8974e commit b417c94
Showing 1 changed file with 3 additions and 3 deletions.
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 @@ -19,9 +19,9 @@ for i in "$@"; do
done

CONFIG_PATH="/neural-compressor/examples/.config/model_params_onnxrt.json"
model_src_dir=$(jq ".\"onnxrt\".\"$model\".\"model_src_dir\"" "$CONFIG_PATH")
dataset_location=$(jq ".\"onnxrt\".\"$model\".\"dataset_location\"" "$CONFIG_PATH")
input_model=$(jq ".\"onnxrt\".\"$model\".\"input_model\"" "$CONFIG_PATH")
model_src_dir=$(jq -r ".\"onnxrt\".\"$model\".\"model_src_dir\"" "$CONFIG_PATH")
dataset_location=$(jq -r ".\"onnxrt\".\"$model\".\"dataset_location\"" "$CONFIG_PATH")
input_model=$(jq -r ".\"onnxrt\".\"$model\".\"input_model\"" "$CONFIG_PATH")

function run_prepare_model() {
if [ -f "$input_model" ]; then
Expand Down

0 comments on commit b417c94

Please sign in to comment.