Lutz Roeder пре 4 месеци
родитељ
комит
9f7629ca97
18 измењених фајлова са 38 додато и 38 уклоњено
  1. 1 1
      tools/armnn
  2. 1 1
      tools/bigdl
  3. 1 1
      tools/caffe
  4. 1 1
      tools/circle
  5. 1 1
      tools/cntk
  6. 2 2
      tools/executorch
  7. 1 1
      tools/kann
  8. 1 1
      tools/mediapipe
  9. 5 5
      tools/megengine
  10. 8 8
      tools/mnn
  11. 3 3
      tools/mslite
  12. 3 3
      tools/nnabla
  13. 1 1
      tools/onnx
  14. 3 3
      tools/paddle
  15. 2 2
      tools/pytorch
  16. 2 2
      tools/sentencepiece
  17. 1 1
      tools/tf
  18. 1 1
      tools/xmodel

+ 1 - 1
tools/armnn

@@ -11,7 +11,7 @@ clean() {
 sync() {
     echo "armnn sync"
     mkdir -p "./third_party/source/armnn/src/armnnSerializer"
-    curl --silent --location --output "./third_party/source/armnn/src/armnnSerializer/ArmnnSchema.fbs" "https://github.com/ARM-software/armnn/raw/main/src/armnnSerializer/ArmnnSchema.fbs"
+    curl --silent --show-error --location --output "./third_party/source/armnn/src/armnnSerializer/ArmnnSchema.fbs" "https://github.com/ARM-software/armnn/raw/main/src/armnnSerializer/ArmnnSchema.fbs"
 }
 
 schema() {

+ 1 - 1
tools/bigdl

@@ -11,7 +11,7 @@ clean() {
 sync() {
     echo "bigdl sync"
     mkdir -p "./third_party/source/bigdl/spark/dl/src/main/resources/serialization"
-    curl --silent --location --output "./third_party/source/bigdl/spark/dl/src/main/resources/serialization/bigdl.proto" "https://github.com/intel-analytics/BigDL/raw/master/spark/dl/src/main/resources/serialization/bigdl.proto"
+    curl --silent --show-error --location --output "./third_party/source/bigdl/spark/dl/src/main/resources/serialization/bigdl.proto" "https://github.com/intel-analytics/BigDL/raw/master/spark/dl/src/main/resources/serialization/bigdl.proto"
 }
 
 schema() {

+ 1 - 1
tools/caffe

@@ -12,7 +12,7 @@ clean() {
 sync() {
     echo "caffe sync"
     mkdir -p "./third_party/source/caffe/src/caffe/proto"
-    curl --silent --location --output "./third_party/source/caffe/src/caffe/proto/caffe.proto" "https://github.com/BVLC/caffe/raw/master/src/caffe/proto/caffe.proto"
+    curl --silent --show-error --location --output "./third_party/source/caffe/src/caffe/proto/caffe.proto" "https://github.com/BVLC/caffe/raw/master/src/caffe/proto/caffe.proto"
 }
 
 schema() {

+ 1 - 1
tools/circle

@@ -11,7 +11,7 @@ clean() {
 sync() {
     echo "circle sync"
     mkdir -p "./third_party/source/circle/nnpackage/schema"
-    curl --silent --location --output "./third_party/source/circle/nnpackage/schema/circle_schema.fbs" "https://github.com/Samsung/ONE/raw/master/nnpackage/schema/circle_schema.fbs"
+    curl --silent --show-error --location --output "./third_party/source/circle/nnpackage/schema/circle_schema.fbs" "https://github.com/Samsung/ONE/raw/master/nnpackage/schema/circle_schema.fbs"
 }
 
 schema() {

+ 1 - 1
tools/cntk

@@ -11,7 +11,7 @@ clean() {
 sync() {
     echo "cntk sync"
     mkdir -p "./third_party/source/cntk/Source/CNTKv2LibraryDll/proto"
-    curl --silent --location --output "./third_party/source/cntk/Source/CNTKv2LibraryDll/proto/CNTK.proto" "https://github.com/microsoft/CNTK/raw/master/Source/CNTKv2LibraryDll/proto/CNTK.proto"
+    curl --silent --show-error --location --output "./third_party/source/cntk/Source/CNTKv2LibraryDll/proto/CNTK.proto" "https://github.com/microsoft/CNTK/raw/master/Source/CNTKv2LibraryDll/proto/CNTK.proto"
 }
 
 schema() {

+ 2 - 2
tools/executorch

@@ -18,8 +18,8 @@ sync() {
     [ -d "./third_party/source/executorch" ] || git clone --quiet https://github.com/pytorch/executorch.git "./third_party/source/executorch"
     git -C "./third_party/source/executorch" pull --quiet --prune
     # mkdir -p "./third_party/source/executorch/schema"
-    # curl --silent --location --output "./third_party/source/executorch/schema/scalar_type.fbs" "https://github.com/pytorch/executorch/raw/main/schema/scalar_type.fbs"
-    # curl --silent --location --output "./third_party/source/executorch/schema/program.fbs" "https://github.com/pytorch/executorch/raw/main/schema/program.fbs"
+    # curl --silent --show-error --location --output "./third_party/source/executorch/schema/scalar_type.fbs" "https://github.com/pytorch/executorch/raw/main/schema/scalar_type.fbs"
+    # curl --silent --show-error --location --output "./third_party/source/executorch/schema/program.fbs" "https://github.com/pytorch/executorch/raw/main/schema/program.fbs"
 }
 
 schema() {

+ 1 - 1
tools/kann

@@ -11,7 +11,7 @@ clean() {
 sync() {
     echo "kann sync"
     mkdir -p "./third_party/source/kann/metadata"
-    curl --silent --location --output "./third_party/source/kann/metadata/kann.fbs" "https://github.com/kalray/kann-models-zoo/raw/refs/heads/main/utils/third-party/kann.fbs"
+    curl --silent --show-error --location --output "./third_party/source/kann/metadata/kann.fbs" "https://github.com/kalray/kann-models-zoo/raw/refs/heads/main/utils/third-party/kann.fbs"
 }
 
 schema() {

+ 1 - 1
tools/mediapipe

@@ -13,7 +13,7 @@ sync() {
     download() {
         echo ${1}
         mkdir -p "./third_party/source/mediapipe/$(dirname ${1})"
-        curl --silent --location --output "./third_party/source/mediapipe/${1}" "https://github.com/google/mediapipe/raw/master/${1}"
+        curl --silent --show-error --location --output "./third_party/source/mediapipe/${1}" "https://github.com/google/mediapipe/raw/master/${1}"
     }
     download "mediapipe/framework/calculator.proto"
     download "mediapipe/framework/calculator_options.proto"

+ 5 - 5
tools/megengine

@@ -11,11 +11,11 @@ clean() {
 sync() {
     echo "megengine sync"
     mkdir -p "./third_party/source/megengine/src/serialization/fbs"
-    curl --silent --location --output "./third_party/source/megengine/src/serialization/fbs/dtype.fbs" "https://github.com/MegEngine/MegEngine/raw/master/ci/compatibility/fbs/V2-backup/dtype.fbs"
-    curl --silent --location --output "./third_party/source/megengine/src/serialization/fbs/mgb_opr_param_defs.fbs" "https://github.com/MegEngine/MegEngine/raw/master/ci/compatibility/fbs/V2-backup/mgb_opr_param_defs.fbs"
-    curl --silent --location --output "./third_party/source/megengine/src/serialization/fbs/mgb_cpp_opr.fbs" "https://github.com/MegEngine/MegEngine/raw/master/ci/compatibility/fbs/V2-backup/mgb_cpp_opr.fbs"
-    curl --silent --location --output "./third_party/source/megengine/src/serialization/fbs/opr_param_defs.fbs" "https://github.com/MegEngine/MegEngine/raw/master/ci/compatibility/fbs/V2-backup/opr_param_defs.fbs"
-    curl --silent --location --output "./third_party/source/megengine/src/serialization/fbs/schema_v2.fbs" "https://github.com/MegEngine/MegEngine/raw/master/ci/compatibility/fbs/V2-backup/schema_v2.fbs"
+    curl --silent --show-error --location --output "./third_party/source/megengine/src/serialization/fbs/dtype.fbs" "https://github.com/MegEngine/MegEngine/raw/master/ci/compatibility/fbs/V2-backup/dtype.fbs"
+    curl --silent --show-error --location --output "./third_party/source/megengine/src/serialization/fbs/mgb_opr_param_defs.fbs" "https://github.com/MegEngine/MegEngine/raw/master/ci/compatibility/fbs/V2-backup/mgb_opr_param_defs.fbs"
+    curl --silent --show-error --location --output "./third_party/source/megengine/src/serialization/fbs/mgb_cpp_opr.fbs" "https://github.com/MegEngine/MegEngine/raw/master/ci/compatibility/fbs/V2-backup/mgb_cpp_opr.fbs"
+    curl --silent --show-error --location --output "./third_party/source/megengine/src/serialization/fbs/opr_param_defs.fbs" "https://github.com/MegEngine/MegEngine/raw/master/ci/compatibility/fbs/V2-backup/opr_param_defs.fbs"
+    curl --silent --show-error --location --output "./third_party/source/megengine/src/serialization/fbs/schema_v2.fbs" "https://github.com/MegEngine/MegEngine/raw/master/ci/compatibility/fbs/V2-backup/schema_v2.fbs"
 }
 
 schema() {

+ 8 - 8
tools/mnn

@@ -11,14 +11,14 @@ clean() {
 sync() {
     echo "mnn sync"
     mkdir -p "./third_party/source/mnn/schema/default"
-    curl --silent --location --output "./third_party/source/mnn/schema/default/CaffeOp.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/CaffeOp.fbs"
-    curl --silent --location --output "./third_party/source/mnn/schema/default/ExtraInfo.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/ExtraInfo.fbs"
-    curl --silent --location --output "./third_party/source/mnn/schema/default/MNN.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/MNN.fbs"
-    curl --silent --location --output "./third_party/source/mnn/schema/default/Tensor.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/Tensor.fbs"
-    curl --silent --location --output "./third_party/source/mnn/schema/default/TensorflowOp.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/TensorflowOp.fbs"
-    curl --silent --location --output "./third_party/source/mnn/schema/default/TFQuantizeOp.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/TFQuantizeOp.fbs"
-    curl --silent --location --output "./third_party/source/mnn/schema/default/Type.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/Type.fbs"
-    curl --silent --location --output "./third_party/source/mnn/schema/default/UserDefine.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/UserDefine.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mnn/schema/default/CaffeOp.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/CaffeOp.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mnn/schema/default/ExtraInfo.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/ExtraInfo.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mnn/schema/default/MNN.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/MNN.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mnn/schema/default/Tensor.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/Tensor.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mnn/schema/default/TensorflowOp.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/TensorflowOp.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mnn/schema/default/TFQuantizeOp.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/TFQuantizeOp.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mnn/schema/default/Type.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/Type.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mnn/schema/default/UserDefine.fbs" "https://github.com/alibaba/MNN/raw/master/schema/default/UserDefine.fbs"
 }
 
 schema() {

+ 3 - 3
tools/mslite

@@ -11,9 +11,9 @@ clean() {
 sync() {
     echo "mslite sync"
     mkdir -p "./third_party/source/mindspore/mindspore/lite/schema/"
-    curl --silent --location --output "./third_party/source/mindspore/mindspore/lite/schema/model.fbs" "https://github.com/mindspore-ai/mindspore/raw/master/mindspore/lite/schema/model.fbs"
-    curl --silent --location --output "./third_party/source/mindspore/mindspore/lite/schema/ops.fbs" "https://github.com/mindspore-ai/mindspore/raw/master/mindspore/lite/schema/ops.fbs"
-    curl --silent --location --output "./third_party/source/mindspore/mindspore/lite/schema/ops_types.fbs" "https://github.com/mindspore-ai/mindspore/raw/master/mindspore/lite/schema/ops_types.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mindspore/mindspore/lite/schema/model.fbs" "https://github.com/mindspore-ai/mindspore/raw/master/mindspore/lite/schema/model.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mindspore/mindspore/lite/schema/ops.fbs" "https://github.com/mindspore-ai/mindspore/raw/master/mindspore/lite/schema/ops.fbs"
+    curl --silent --show-error --location --output "./third_party/source/mindspore/mindspore/lite/schema/ops_types.fbs" "https://github.com/mindspore-ai/mindspore/raw/master/mindspore/lite/schema/ops_types.fbs"
 }
 
 schema() {

+ 3 - 3
tools/nnabla

@@ -27,10 +27,10 @@ clean() {
 sync() {
     echo "nnabla sync"
     mkdir -p "./third_party/source/nnabla/build-tools/code_generator"
-    curl --silent --location --output "./third_party/source/nnabla/build-tools/code_generator/functions.yaml" "https://github.com/sony/nnabla/raw/master/build-tools/code_generator/functions.yaml"
-    curl --silent --location --output "./third_party/source/nnabla/build-tools/code_generator/solvers.yaml" "https://github.com/sony/nnabla/raw/master/build-tools/code_generator/solvers.yaml"
+    curl --silent --show-error --location --output "./third_party/source/nnabla/build-tools/code_generator/functions.yaml" "https://github.com/sony/nnabla/raw/master/build-tools/code_generator/functions.yaml"
+    curl --silent --show-error --location --output "./third_party/source/nnabla/build-tools/code_generator/solvers.yaml" "https://github.com/sony/nnabla/raw/master/build-tools/code_generator/solvers.yaml"
     mkdir -p "./third_party/source/nnabla/src/nbla/proto"
-    curl --silent --location --output "./third_party/source/nnabla/src/nbla/proto/nnabla.proto.tmpl" "https://github.com/sony/nnabla/raw/master/src/nbla/proto/nnabla.proto.tmpl"
+    curl --silent --show-error --location --output "./third_party/source/nnabla/src/nbla/proto/nnabla.proto.tmpl" "https://github.com/sony/nnabla/raw/master/src/nbla/proto/nnabla.proto.tmpl"
     echo 'package nnabla;' | cat - ./third_party/source/nnabla/src/nbla/proto/nnabla.proto.tmpl > ./third_party/source/nnabla/src/nbla/proto/nnabla.proto.tmpl.temp
     mv ./third_party/source/nnabla/src/nbla/proto/nnabla.proto.tmpl.temp ./third_party/source/nnabla/src/nbla/proto/nnabla.proto.tmpl
 }

+ 1 - 1
tools/onnx

@@ -36,7 +36,7 @@ sync() {
     git submodule update --quiet --init --recursive
     popd > /dev/null
     mkdir -p "./third_party/source/onnxruntime/core/flatbuffers/schema"
-    curl --silent --location --output "./third_party/source/onnxruntime/core/flatbuffers/schema/ort.fbs" "https://github.com/microsoft/onnxruntime/raw/main/onnxruntime/core/flatbuffers/schema/ort.fbs"
+    curl --silent --show-error --location --output "./third_party/source/onnxruntime/core/flatbuffers/schema/ort.fbs" "https://github.com/microsoft/onnxruntime/raw/main/onnxruntime/core/flatbuffers/schema/ort.fbs"
 }
 
 install() {

+ 3 - 3
tools/paddle

@@ -12,10 +12,10 @@ clean() {
 sync() {
     echo "paddle sync"
     mkdir -p "./third_party/source/paddle/paddle/fluid/framework"
-    curl --silent --location --output "./third_party/source/paddle/paddle/fluid/framework/framework.proto" "https://github.com/PaddlePaddle/Paddle/raw/develop/paddle/fluid/framework/framework.proto"
+    curl --silent --show-error --location --output "./third_party/source/paddle/paddle/fluid/framework/framework.proto" "https://github.com/PaddlePaddle/Paddle/raw/develop/paddle/fluid/framework/framework.proto"
     mkdir -p "./third_party/source/paddle-lite/lite/model_parser/flatbuffers"
-    curl --silent --location --output "./third_party/source/paddle-lite/lite/model_parser/flatbuffers/framework.fbs" "https://github.com/PaddlePaddle/Paddle-Lite/raw/develop/lite/model_parser/flatbuffers/framework.fbs"
-    curl --silent --location --output "./third_party/source/paddle-lite/lite/model_parser/flatbuffers/param.fbs" "https://github.com/PaddlePaddle/Paddle-Lite/raw/develop/lite/model_parser/flatbuffers/param.fbs"
+    curl --silent --show-error --location --output "./third_party/source/paddle-lite/lite/model_parser/flatbuffers/framework.fbs" "https://github.com/PaddlePaddle/Paddle-Lite/raw/develop/lite/model_parser/flatbuffers/framework.fbs"
+    curl --silent --show-error --location --output "./third_party/source/paddle-lite/lite/model_parser/flatbuffers/param.fbs" "https://github.com/PaddlePaddle/Paddle-Lite/raw/develop/lite/model_parser/flatbuffers/param.fbs"
 }
 
 schema() {

+ 2 - 2
tools/pytorch

@@ -29,8 +29,8 @@ sync() {
     [ -d "./third_party/source/pytorch" ] || git clone --quiet https://github.com/pytorch/pytorch.git "./third_party/source/pytorch"
     git -C "./third_party/source/pytorch" pull --quiet --prune
     mkdir -p "./third_party/source/caffe2/proto"
-    curl --silent --location --output "./third_party/source/caffe2/proto/caffe2.proto" "https://github.com/pytorch/pytorch/raw/5e69e11d098a2cfccc8a59377c431e9c71cab9a8/caffe2/proto/caffe2.proto"
-    curl --silent --location --output "./third_party/source/caffe2/proto/torch.proto" "https://github.com/pytorch/pytorch/raw/5e69e11d098a2cfccc8a59377c431e9c71cab9a8/caffe2/proto/torch.proto"
+    curl --silent --show-error --location --output "./third_party/source/caffe2/proto/caffe2.proto" "https://github.com/pytorch/pytorch/raw/5e69e11d098a2cfccc8a59377c431e9c71cab9a8/caffe2/proto/caffe2.proto"
+    curl --silent --show-error --location --output "./third_party/source/caffe2/proto/torch.proto" "https://github.com/pytorch/pytorch/raw/5e69e11d098a2cfccc8a59377c431e9c71cab9a8/caffe2/proto/torch.proto"
 }
 
 install() {

+ 2 - 2
tools/sentencepiece

@@ -16,8 +16,8 @@ clean() {
 sync() {
     echo "sentencepiece sync"
     mkdir -p "./third_party/source/sentencepiece/src"
-    curl --silent --location --output "./third_party/source/sentencepiece/src/sentencepiece_model.proto" "https://github.com/google/sentencepiece/raw/master/src/sentencepiece_model.proto"
-    curl --silent --location --output "./third_party/source/sentencepiece/src/sentencepiece.proto" "https://github.com/google/sentencepiece/raw/master/src/sentencepiece.proto"
+    curl --silent --show-error --location --output "./third_party/source/sentencepiece/src/sentencepiece_model.proto" "https://github.com/google/sentencepiece/raw/master/src/sentencepiece_model.proto"
+    curl --silent --show-error --location --output "./third_party/source/sentencepiece/src/sentencepiece.proto" "https://github.com/google/sentencepiece/raw/master/src/sentencepiece.proto"
 }
 
 schema() {

+ 1 - 1
tools/tf

@@ -30,7 +30,7 @@ sync() {
     [ -d "./third_party/source/tensorflow" ] || git clone --quiet https://github.com/tensorflow/tensorflow.git "./third_party/source/tensorflow"
     git -C "./third_party/source/tensorflow" pull --quiet --prune
     mkdir -p "./third_party/source/tflite-support/tensorflow_lite_support/metadata"
-    curl --silent --location --output "./third_party/source/tflite-support/tensorflow_lite_support/metadata/metadata_schema.fbs" "https://github.com/tensorflow/tflite-support/raw/master/tensorflow_lite_support/metadata/metadata_schema.fbs"
+    curl --silent --show-error --location --output "./third_party/source/tflite-support/tensorflow_lite_support/metadata/metadata_schema.fbs" "https://github.com/tensorflow/tflite-support/raw/master/tensorflow_lite_support/metadata/metadata_schema.fbs"
 }
 
 install() {

+ 1 - 1
tools/xmodel

@@ -12,7 +12,7 @@ clean() {
 sync() {
     echo "xmodel sync"
     mkdir -p ./third_party/source/xmodel/src/vai_library/usefultools/src
-    curl --silent --location --output "./third_party/source/xmodel/src/vai_library/usefultools/src/xir_graph_proto_v2.proto" "https://github.com/Xilinx/Vitis-AI/raw/master/src/vai_library/usefultools/src/xir_graph_proto_v2.proto"
+    curl --silent --show-error --location --output "./third_party/source/xmodel/src/vai_library/usefultools/src/xir_graph_proto_v2.proto" "https://github.com/Xilinx/Vitis-AI/raw/master/src/vai_library/usefultools/src/xir_graph_proto_v2.proto"
 }