We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d7e50d commit 4d8974eCopy full SHA for 4d8974e
.azure-pipelines/scripts/models/run_onnxrt_models_trigger.sh
@@ -18,7 +18,7 @@ for i in "$@"; do
18
esac
19
done
20
21
-CONFIG_PATH=/neural-compressor/examples/.config/model_params_onnxrt.json
+CONFIG_PATH="/neural-compressor/examples/.config/model_params_onnxrt.json"
22
model_src_dir=$(jq ".\"onnxrt\".\"$model\".\"model_src_dir\"" "$CONFIG_PATH")
23
dataset_location=$(jq ".\"onnxrt\".\"$model\".\"dataset_location\"" "$CONFIG_PATH")
24
input_model=$(jq ".\"onnxrt\".\"$model\".\"input_model\"" "$CONFIG_PATH")
@@ -46,7 +46,7 @@ function run_accuracy() {
46
}
47
48
function main() {
49
- cd "$model_src_dir"
+ cd "/neural-compressor/examples/$model_src_dir"
50
if [ "$stage" == "prepare_model" ]; then
51
run_prepare_model
52
elif [ "$stage" == "quantize" ]; then
0 commit comments