diff --git a/sample_programs/ml_sample_programs/nlp_models/bert/compile.sh b/sample_programs/ml_sample_programs/nlp_models/bert/compile.sh index a07fc7c8..84808dc3 100755 --- a/sample_programs/ml_sample_programs/nlp_models/bert/compile.sh +++ b/sample_programs/ml_sample_programs/nlp_models/bert/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "\n$FILE exists. Skip downloading." else echo "\n$FILE does not exist. Downloading the model..." - wget https://github.com/onnx/models/raw/main/text/machine_comprehension/bert-squad/model/bertsquad-12.onnx + wget https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/bert-squad/model/bertsquad-12.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/nlp_models/gpt2-lm-head-10/compile.sh b/sample_programs/ml_sample_programs/nlp_models/gpt2-lm-head-10/compile.sh index a725c139..403cb5a5 100755 --- a/sample_programs/ml_sample_programs/nlp_models/gpt2-lm-head-10/compile.sh +++ b/sample_programs/ml_sample_programs/nlp_models/gpt2-lm-head-10/compile.sh @@ -7,7 +7,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/text/machine_comprehension/gpt-2/model/gpt2-lm-head-10.onnx + wget https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/gpt-2/model/gpt2-lm-head-10.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/nlp_models/gpt2/compile.sh b/sample_programs/ml_sample_programs/nlp_models/gpt2/compile.sh old mode 100644 new mode 100755 index a938e275..b9c214ef --- a/sample_programs/ml_sample_programs/nlp_models/gpt2/compile.sh +++ b/sample_programs/ml_sample_programs/nlp_models/gpt2/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/text/machine_comprehension/gpt-2/model/gpt2-10.onnx + wget https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/gpt-2/model/gpt2-10.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/nlp_models/roberta-base-11/compile.sh b/sample_programs/ml_sample_programs/nlp_models/roberta-base-11/compile.sh old mode 100644 new mode 100755 index 492ed0a4..1572fe36 --- a/sample_programs/ml_sample_programs/nlp_models/roberta-base-11/compile.sh +++ b/sample_programs/ml_sample_programs/nlp_models/roberta-base-11/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/text/machine_comprehension/roberta/model/roberta-base-11.onnx + wget https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/roberta/model/roberta-base-11.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/nlp_models/roberta-seq-classification-9/compile.sh b/sample_programs/ml_sample_programs/nlp_models/roberta-seq-classification-9/compile.sh old mode 100644 new mode 100755 index a025800f..afabaaf7 --- a/sample_programs/ml_sample_programs/nlp_models/roberta-seq-classification-9/compile.sh +++ b/sample_programs/ml_sample_programs/nlp_models/roberta-seq-classification-9/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/text/machine_comprehension/roberta/model/roberta-sequence-classification-9.onnx + wget https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/roberta/model/roberta-sequence-classification-9.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/nlp_models/t5-decoder/compile.sh b/sample_programs/ml_sample_programs/nlp_models/t5-decoder/compile.sh old mode 100644 new mode 100755 index 7788f835..498b8760 --- a/sample_programs/ml_sample_programs/nlp_models/t5-decoder/compile.sh +++ b/sample_programs/ml_sample_programs/nlp_models/t5-decoder/compile.sh @@ -5,7 +5,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/text/machine_comprehension/t5/model/t5-encoder-12.onnx + wget https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/t5/model/t5-encoder-12.onnx fi DEC_FILE=t5-decoder-with-lm-head-12.onnx @@ -13,7 +13,7 @@ if [ -f "$DEC_FILE" ]; then echo "$DEC_FILE exists." else echo "$DEC_FILE does not exist." - wget https://github.com/onnx/models/raw/main/text/machine_comprehension/t5/model/t5-decoder-with-lm-head-12.onnx + wget https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/t5/model/t5-decoder-with-lm-head-12.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/nlp_models/t5-encoder/compile.sh b/sample_programs/ml_sample_programs/nlp_models/t5-encoder/compile.sh old mode 100644 new mode 100755 index 95f3a63a..a55b0231 --- a/sample_programs/ml_sample_programs/nlp_models/t5-encoder/compile.sh +++ b/sample_programs/ml_sample_programs/nlp_models/t5-encoder/compile.sh @@ -5,7 +5,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/text/machine_comprehension/t5/model/t5-encoder-12.onnx + wget https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/t5/model/t5-encoder-12.onnx fi DEC_FILE=t5-decoder-with-lm-head-12.onnx @@ -13,7 +13,7 @@ if [ -f "$DEC_FILE" ]; then echo "$DEC_FILE exists." else echo "$DEC_FILE does not exist." - wget https://github.com/onnx/models/raw/main/text/machine_comprehension/t5/model/t5-decoder-with-lm-head-12.onnx + wget https://github.com/onnx/models/raw/main/validated/text/machine_comprehension/t5/model/t5-decoder-with-lm-head-12.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/vision_models/bvlcalexnet-12/compile.sh b/sample_programs/ml_sample_programs/vision_models/bvlcalexnet-12/compile.sh old mode 100644 new mode 100755 index 71363162..acc6478e --- a/sample_programs/ml_sample_programs/vision_models/bvlcalexnet-12/compile.sh +++ b/sample_programs/ml_sample_programs/vision_models/bvlcalexnet-12/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/vision/classification/alexnet/model/bvlcalexnet-12.onnx + wget https://github.com/onnx/models/raw/main/validated/vision/classification/alexnet/model/bvlcalexnet-12.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/vision_models/googlenet-12/compile.sh b/sample_programs/ml_sample_programs/vision_models/googlenet-12/compile.sh old mode 100644 new mode 100755 index c9b24a2b..2278f0fb --- a/sample_programs/ml_sample_programs/vision_models/googlenet-12/compile.sh +++ b/sample_programs/ml_sample_programs/vision_models/googlenet-12/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/vision/classification/inception_and_googlenet/googlenet/model/googlenet-12.onnx + wget https://github.com/onnx/models/raw/main/validated/vision/classification/inception_and_googlenet/googlenet/model/googlenet-12.onnx fi diff --git a/sample_programs/ml_sample_programs/vision_models/inception-v1-12/compile.sh b/sample_programs/ml_sample_programs/vision_models/inception-v1-12/compile.sh old mode 100644 new mode 100755 index cc2e8c4d..493c7225 --- a/sample_programs/ml_sample_programs/vision_models/inception-v1-12/compile.sh +++ b/sample_programs/ml_sample_programs/vision_models/inception-v1-12/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/vision/classification/inception_and_googlenet/inception_v1/model/inception-v1-12.onnx + wget https://github.com/onnx/models/raw/main/validated/vision/classification/inception_and_googlenet/inception_v1/model/inception-v1-12.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/vision_models/resnet50-v1-12/compile.sh b/sample_programs/ml_sample_programs/vision_models/resnet50-v1-12/compile.sh old mode 100644 new mode 100755 index 96bcf8cb..e4491c06 --- a/sample_programs/ml_sample_programs/vision_models/resnet50-v1-12/compile.sh +++ b/sample_programs/ml_sample_programs/vision_models/resnet50-v1-12/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/vision/classification/resnet/model/resnet50-v1-12.onnx + wget https://github.com/onnx/models/raw/main/validated/vision/classification/resnet/model/resnet50-v1-12.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/vision_models/shufflenetv2_10/compile.sh b/sample_programs/ml_sample_programs/vision_models/shufflenetv2_10/compile.sh old mode 100644 new mode 100755 index 866adb71..761d4501 --- a/sample_programs/ml_sample_programs/vision_models/shufflenetv2_10/compile.sh +++ b/sample_programs/ml_sample_programs/vision_models/shufflenetv2_10/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/vision/classification/shufflenet/model/shufflenet-v2-10.onnx + wget https://github.com/onnx/models/raw/main/validated/vision/classification/shufflenet/model/shufflenet-v2-10.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/vision_models/squeezenet1.0-12/compile.sh b/sample_programs/ml_sample_programs/vision_models/squeezenet1.0-12/compile.sh old mode 100644 new mode 100755 index 2849b069..e39e3ede --- a/sample_programs/ml_sample_programs/vision_models/squeezenet1.0-12/compile.sh +++ b/sample_programs/ml_sample_programs/vision_models/squeezenet1.0-12/compile.sh @@ -5,7 +5,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/vision/classification/squeezenet/model/squeezenet1.0-12.onnx + wget https://github.com/onnx/models/raw/main/validated/vision/classification/squeezenet/model/squeezenet1.0-12.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/vision_models/vgg16-12/compile.sh b/sample_programs/ml_sample_programs/vision_models/vgg16-12/compile.sh old mode 100644 new mode 100755 index c3a6a95a..61cd3515 --- a/sample_programs/ml_sample_programs/vision_models/vgg16-12/compile.sh +++ b/sample_programs/ml_sample_programs/vision_models/vgg16-12/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/vision/classification/vgg/model/vgg16-12.onnx + wget https://github.com/onnx/models/raw/main/validated/vision/classification/vgg/model/vgg16-12.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n" diff --git a/sample_programs/ml_sample_programs/vision_models/yolo3/compile.sh b/sample_programs/ml_sample_programs/vision_models/yolo3/compile.sh index 757e7f60..702a9e1b 100644 --- a/sample_programs/ml_sample_programs/vision_models/yolo3/compile.sh +++ b/sample_programs/ml_sample_programs/vision_models/yolo3/compile.sh @@ -4,7 +4,7 @@ if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." - wget https://github.com/onnx/models/raw/main/vision/object_detection_segmentation/yolov3/model/yolov3-10.onnx + wget https://github.com/onnx/models/raw/main/validated/vision/object_detection_segmentation/yolov3/model/yolov3-10.onnx fi printf "\n[Compile Script]: Convert TF model to LLVM IR\n"