From a9521c3fa4f9419e77860a12b59798fd8e59d791 Mon Sep 17 00:00:00 2001 From: Grigori Fursin Date: Sat, 22 May 2021 08:23:20 +0200 Subject: [PATCH] clean up --- LICENSE | 30 +- package/lib-nntest/ck_nntest_armcl.h | 4 +- package/lib-nntest/ck_nntest_caffe_avgpool.h | 4 +- package/lib-nntest/ck_nntest_caffe_conv.h | 4 +- package/lib-nntest/ck_nntest_caffe_fc.h | 4 +- package/lib-nntest/ck_nntest_caffe_softmax.h | 4 +- package/lib-nntest/ck_nntest_common.h | 4 +- package/lib-nntest/ck_nntest_tensorflow.h | 4 +- package/lib-nntest/process.bat | 4 +- package/lib-nntest/process.sh | 4 +- package/lib-rtl-xopenme/LICENSE.txt | 3 +- .../scripts.linux/pre-download.sh | 4 +- .../scripts.linux/pre-download.sh | 4 +- package/model-pytorch-rnnt/install.sh | 4 +- package/plugin-lstm-rnnt-dec-glow/install.sh | 4 +- package/plugin-lstm-rnnt-dec-onnx/install.sh | 4 +- .../plugin-lstm-rnnt-dec-pytorch/install.sh | 4 +- package/plugin-lstm-rnnt-post-glow/install.sh | 4 +- package/plugin-lstm-rnnt-post-onnx/install.sh | 4 +- .../plugin-lstm-rnnt-post-pytorch/install.sh | 4 +- package/plugin-lstm-rnnt-pre-glow/install.sh | 4 +- package/plugin-lstm-rnnt-pre-onnx/install.sh | 4 +- .../plugin-lstm-rnnt-pre-pytorch/install.sh | 4 +- .../alexnet-model.py | 5 +- .../scripts.linux/install.sh | 4 +- .../googlenet-model.py | 4 +- .../scripts.linux/install.sh | 4 +- .../tensorflowmodel-mobilenet-v2/install.sh | 4 +- .../scripts.linux/install.sh | 4 +- .../squeezenet-model.py | 4 +- program/.cm/alias-a-tensorrt-test | 1 - program/.cm/alias-a-tensorrt-time | 1 - program/.cm/alias-u-5d4e5a43da89baca | 1 - program/.cm/alias-u-5e23a492b9138354 | 1 - program/acl-alexnet-neon/alexnet.cpp | 24 +- .../armcl_graph_common.h | 4 +- .../classification_demo.h | 4 +- .../classify.cpp | 4 +- .../preprocess.py | 4 +- .../avgpool-armcl-opencl-uint8/avgpool.cpp | 4 +- program/avgpool-armcl-opencl/avgpool.cpp | 4 +- program/avgpool-caffe-cpu/avgpool.cpp | 4 +- program/avgpool-caffe-opencl/avgpool.cpp | 4 +- .../avgpool-tensorflow-cpu-uint8/avgpool.cpp | 4 +- program/avgpool-tensorflow-cpu/avgpool.cpp | 4 +- program/benchmark-armcl-opencl/preprocess.py | 4 +- program/conv-armcl-opencl-uint8/conv.cpp | 4 +- program/conv-armcl-opencl/conv.cpp | 4 +- program/conv-caffe-cpu/conv.cpp | 4 +- program/conv-caffe-opencl/conv.cpp | 4 +- program/conv-tensorflow-cpu/conv.cpp | 4 +- .../depthwiseconv.cpp | 4 +- .../depthwiseconv.cpp | 4 +- .../depthwiseconv.cpp | 4 +- .../directconv.cpp | 4 +- .../directconv-armcl-opencl/directconv.cpp | 4 +- program/directconv-caffe-cpu/directconv.cpp | 4 +- .../directconv-caffe-opencl/directconv.cpp | 4 +- program/double-inference/ck_utils.py | 4 +- program/double-inference/detect.py | 4 +- .../fullyconnected.cpp | 4 +- .../fullyconnected.cpp | 4 +- .../fullyconnected.cpp | 4 +- .../fullyconnected.cpp | 4 +- program/gemm-armcl-opencl/gemm.cpp | 4 +- .../benchmark.h | 4 +- .../classification.cpp | 4 +- .../classification.cpp | 4 +- .../image-classification-tf-py/classify.py | 4 +- .../benchmark.h | 4 +- .../classification.cpp | 4 +- .../codereef_preprocess.py | 4 +- .../benchmark.h | 4 +- .../classification.cpp | 4 +- .../codereef_preprocess.py | 4 +- .../benchmark.h | 4 +- .../classification.cpp | 4 +- .../image-classification-tflite/benchmark.h | 4 +- .../classification.cpp | 4 +- program/mlperf-inference-vision/detect.py | 4 +- .../mlperf-inference-vision/postprocess.py | 4 +- program/object-detection-onnx-py/detect.py | 4 +- .../calc_metrics_coco.py | 4 +- .../calc_metrics_kitti.py | 4 +- .../calc_metrics_oid.py | 4 +- .../ck_utils.py | 4 +- .../converter_annotations.py | 4 +- .../converter_results.py | 4 +- .../detect.py | 4 +- .../postprocess.py | 4 +- .../calc_metrics_coco.py | 4 +- .../calc_metrics_kitti.py | 4 +- .../calc_metrics_oid.py | 4 +- .../ck_utils.py | 4 +- .../converter_annotations.py | 4 +- .../converter_results.py | 4 +- .../object-detection-tf-py-codereef/detect.py | 4 +- .../detect.py.save | 4 +- .../postprocess.py | 4 +- .../calc_metrics_coco.py | 4 +- .../calc_metrics_kitti.py | 4 +- .../calc_metrics_oid.py | 4 +- program/object-detection-tf-py/ck_utils.py | 4 +- .../converter_annotations.py | 4 +- .../converter_results.py | 4 +- program/object-detection-tf-py/detect.py | 4 +- program/object-detection-tf-py/postprocess.py | 4 +- .../detect.cpp | 4 +- .../includes/benchmark.h | 4 +- .../includes/detect.hpp | 4 +- .../includes/settings.h | 4 +- .../detect.cpp | 4 +- .../includes/benchmark.h | 4 +- .../includes/detect.hpp | 4 +- .../includes/settings.h | 4 +- .../detect.cpp | 4 +- .../includes/benchmark.h | 7 +- .../includes/detect.hpp | 4 +- .../includes/settings.h | 4 +- program/object-detection-tflite/detect.cpp | 4 +- .../includes/benchmark.h | 4 +- .../includes/detect.hpp | 4 +- .../includes/settings.h | 4 +- .../reshape-armcl-opencl-uint8/reshape.cpp | 4 +- program/reshape-armcl-opencl/reshape.cpp | 4 +- .../reshape-tensorflow-cpu-uint8/reshape.cpp | 4 +- program/reshape-tensorflow-cpu/reshape.cpp | 4 +- .../resizebilinear.cpp | 4 +- .../resizebilinear.cpp | 4 +- .../resizebilinear.cpp | 4 +- .../softmax-armcl-opencl-uint8/softmax.cpp | 4 +- program/softmax-armcl-opencl/softmax.cpp | 4 +- program/softmax-caffe-cpu/softmax.cpp | 4 +- program/softmax-caffe-opencl/softmax.cpp | 4 +- program/softmax-tensorflow-cpu/softmax.cpp | 4 +- program/squeezedet/image_benchmark.py | 4 +- .../evaluation.py | 4 +- .../preprocess.py | 4 +- .../squeezedet.py | 4 +- program/tensorflow-freeze/freeze.py | 4 +- program/tensorrt-test/.cm/desc.json | 1 - program/tensorrt-test/.cm/info.json | 21 - program/tensorrt-test/.cm/meta.json | 178 ------ program/tensorrt-test/postprocess.py | 217 -------- program/tensorrt-test/tensorrt-test.cpp | 216 -------- program/tensorrt-time/.cm/desc.json | 1 - program/tensorrt-time/.cm/info.json | 21 - program/tensorrt-time/.cm/meta.json | 110 ---- program/tensorrt-time/postprocess.py | 75 --- program/tensorrt-time/tensorrt-time.cpp | 513 ------------------ program/test-armcl-opencl-arm32/process.py | 4 +- program/test-boost/test_boost.cpp | 4 +- program/tflite-classification/preprocess.py | 4 +- program/tool-autoformat-code/format.py | 4 +- program/tool-autoformat-code/preprocess.py | 4 +- program/tool-prepare-dataset/prepare.py | 4 +- program/tool-prepare-dataset/preprocess.py | 4 +- .../winogradconv.cpp | 4 +- script/cached-benchmark/postprocess.py | 4 +- script/cached-benchmark/preprocess.py | 4 +- .../compile-preprocess.py | 4 +- script/ctuning.process.dvdt-prof/dvdt_prof.py | 4 +- .../loadgen_postprocess.py | 4 +- .../loadgen_preprocess.py | 4 +- script/image-classification/postprocess.py | 4 +- script/image-classification/preprocess.py | 4 +- script/image-classification/schindler.py | 4 +- script/install-lib-mace-src/install.sh | 4 +- .../install.sh | 4 +- .../install.bat | 4 +- .../install.sh | 4 +- .../mobilenet-model.py | 4 +- .../calc_metrics_coco_pycocotools.py | 4 +- .../object-detection/calc_metrics_coco_tf.py | 4 +- script/object-detection/calc_metrics_kitti.py | 4 +- script/object-detection/calc_metrics_oid.py | 4 +- script/object-detection/ck_utils.py | 4 +- .../object-detection/converter_annotations.py | 4 +- script/object-detection/converter_results.py | 4 +- .../object-detection/iniless_postprocess.py | 4 +- .../object-detection/loadgen_postprocess.py | 4 +- script/object-detection/loadgen_preprocess.py | 4 +- script/object-detection/schindler.py | 4 +- script/process-nntest-avgpool/process.py | 4 +- script/process-nntest-conv/process.py | 4 +- .../process-nntest-depthwiseconv/process.py | 4 +- .../process-nntest-fullyconnected/process.py | 4 +- script/process-nntest-gemm/process.py | 4 +- script/process-nntest-lstm/process.py | 4 +- script/process-nntest-reshape/process.py | 4 +- .../process-nntest-resizebilinear/process.py | 4 +- script/process-nntest-softmax/process.py | 4 +- script/process-nntest/output.py | 4 +- .../speech-recognition/loadgen_postprocess.py | 4 +- .../speech-recognition/loadgen_preprocess.py | 4 +- script/speech-recognition/postprocess.py | 4 +- soft/lib.edgetpu/customize.py | 4 +- soft/lib.eigen/customize.py | 4 +- soft/lib.gemmlowp/customize.py | 4 +- soft/lib.mace/customize.py | 4 +- soft/lib.nntest/customize.py | 4 +- soft/nntest.plugin/customize.py | 4 +- 202 files changed, 377 insertions(+), 1781 deletions(-) delete mode 100644 program/.cm/alias-a-tensorrt-test delete mode 100644 program/.cm/alias-a-tensorrt-time delete mode 100644 program/.cm/alias-u-5d4e5a43da89baca delete mode 100644 program/.cm/alias-u-5e23a492b9138354 delete mode 100644 program/tensorrt-test/.cm/desc.json delete mode 100644 program/tensorrt-test/.cm/info.json delete mode 100644 program/tensorrt-test/.cm/meta.json delete mode 100644 program/tensorrt-test/postprocess.py delete mode 100644 program/tensorrt-test/tensorrt-test.cpp delete mode 100644 program/tensorrt-time/.cm/desc.json delete mode 100644 program/tensorrt-time/.cm/info.json delete mode 100644 program/tensorrt-time/.cm/meta.json delete mode 100644 program/tensorrt-time/postprocess.py delete mode 100644 program/tensorrt-time/tensorrt-time.cpp diff --git a/LICENSE b/LICENSE index 8f1d92ee..0b0b2b86 100644 --- a/LICENSE +++ b/LICENSE @@ -1,29 +1,3 @@ -Copyright (c) 2014-2021 cTuning foundation . +These CK components use the same license as the CK framework: +https://github.com/ctuning/ck/blob/master/LICENSE.txt -All rights reserved - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - 3. Neither the name of the cTuning foundation - nor the names of its contributors may be used to endorse - or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/package/lib-nntest/ck_nntest_armcl.h b/package/lib-nntest/ck_nntest_armcl.h index 38472ef2..cc49ce29 100644 --- a/package/lib-nntest/ck_nntest_armcl.h +++ b/package/lib-nntest/ck_nntest_armcl.h @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. */ #ifndef CK_NNTEST_ARMCL_H diff --git a/package/lib-nntest/ck_nntest_caffe_avgpool.h b/package/lib-nntest/ck_nntest_caffe_avgpool.h index d0898999..af138436 100644 --- a/package/lib-nntest/ck_nntest_caffe_avgpool.h +++ b/package/lib-nntest/ck_nntest_caffe_avgpool.h @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef CK_NNTEST_CAFFE_AVGPOOL_H diff --git a/package/lib-nntest/ck_nntest_caffe_conv.h b/package/lib-nntest/ck_nntest_caffe_conv.h index 87b67100..593cca45 100644 --- a/package/lib-nntest/ck_nntest_caffe_conv.h +++ b/package/lib-nntest/ck_nntest_caffe_conv.h @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef CK_NNTEST_CAFFE_CONV_H diff --git a/package/lib-nntest/ck_nntest_caffe_fc.h b/package/lib-nntest/ck_nntest_caffe_fc.h index 4a3a7909..28ccd013 100644 --- a/package/lib-nntest/ck_nntest_caffe_fc.h +++ b/package/lib-nntest/ck_nntest_caffe_fc.h @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef CK_NNTEST_CAFFE_FC_H diff --git a/package/lib-nntest/ck_nntest_caffe_softmax.h b/package/lib-nntest/ck_nntest_caffe_softmax.h index 19f4af42..ee2dea75 100644 --- a/package/lib-nntest/ck_nntest_caffe_softmax.h +++ b/package/lib-nntest/ck_nntest_caffe_softmax.h @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef CK_NNTEST_CAFFE_SOFTMAX_H diff --git a/package/lib-nntest/ck_nntest_common.h b/package/lib-nntest/ck_nntest_common.h index 9ebb3477..82b3ba23 100644 --- a/package/lib-nntest/ck_nntest_common.h +++ b/package/lib-nntest/ck_nntest_common.h @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef CK_NN_OPS_TEST_H diff --git a/package/lib-nntest/ck_nntest_tensorflow.h b/package/lib-nntest/ck_nntest_tensorflow.h index ad2b0336..dc71484e 100644 --- a/package/lib-nntest/ck_nntest_tensorflow.h +++ b/package/lib-nntest/ck_nntest_tensorflow.h @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef CK_NNTEST_TENSORFLOW_H diff --git a/package/lib-nntest/process.bat b/package/lib-nntest/process.bat index 8edae4c8..c81bc384 100644 --- a/package/lib-nntest/process.bat +++ b/package/lib-nntest/process.bat @@ -4,8 +4,8 @@ rem rem Copyright (c) 2015-2017 cTuning foundation. rem See CK COPYRIGHT.txt for copyright details. rem -rem SPDX-License-Identifier: BSD-3-Clause. -rem See CK LICENSE.txt for licensing details. +rem See CK LICENSE for licensing details. +rem See CK COPYRIGHT for copyright details. rem rem Installation script for CK packages. rem diff --git a/package/lib-nntest/process.sh b/package/lib-nntest/process.sh index 705498d5..d92566ea 100755 --- a/package/lib-nntest/process.sh +++ b/package/lib-nntest/process.sh @@ -4,8 +4,8 @@ # Copyright (c) 2015-2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for CK packages. # diff --git a/package/lib-rtl-xopenme/LICENSE.txt b/package/lib-rtl-xopenme/LICENSE.txt index 1b161b1c..9f1cfd39 100644 --- a/package/lib-rtl-xopenme/LICENSE.txt +++ b/package/lib-rtl-xopenme/LICENSE.txt @@ -1 +1,2 @@ -Dual licensed (BSD and LGPL) +See CK LICENSE for licensing details. +See CK COPYRIGHT for copyright details. diff --git a/package/lib-tensorflow_cc-prebuilt-1.3.0-aarch64/scripts.linux/pre-download.sh b/package/lib-tensorflow_cc-prebuilt-1.3.0-aarch64/scripts.linux/pre-download.sh index 81cae0e9..cb4136b3 100755 --- a/package/lib-tensorflow_cc-prebuilt-1.3.0-aarch64/scripts.linux/pre-download.sh +++ b/package/lib-tensorflow_cc-prebuilt-1.3.0-aarch64/scripts.linux/pre-download.sh @@ -4,8 +4,8 @@ # Copyright (c) 2015-2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # ARCH=`uname -m` diff --git a/package/lib-tensorflow_cc-prebuilt-1.4.0-aarch64/scripts.linux/pre-download.sh b/package/lib-tensorflow_cc-prebuilt-1.4.0-aarch64/scripts.linux/pre-download.sh index 81cae0e9..cb4136b3 100755 --- a/package/lib-tensorflow_cc-prebuilt-1.4.0-aarch64/scripts.linux/pre-download.sh +++ b/package/lib-tensorflow_cc-prebuilt-1.4.0-aarch64/scripts.linux/pre-download.sh @@ -4,8 +4,8 @@ # Copyright (c) 2015-2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # ARCH=`uname -m` diff --git a/package/model-pytorch-rnnt/install.sh b/package/model-pytorch-rnnt/install.sh index 74714e5e..a1e07f40 100644 --- a/package/model-pytorch-rnnt/install.sh +++ b/package/model-pytorch-rnnt/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2020 dividiti. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # cp ${ORIGINAL_PACKAGE_DIR}/README.md . diff --git a/package/plugin-lstm-rnnt-dec-glow/install.sh b/package/plugin-lstm-rnnt-dec-glow/install.sh index f685a153..43783282 100755 --- a/package/plugin-lstm-rnnt-dec-glow/install.sh +++ b/package/plugin-lstm-rnnt-dec-glow/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for CK packages. # diff --git a/package/plugin-lstm-rnnt-dec-onnx/install.sh b/package/plugin-lstm-rnnt-dec-onnx/install.sh index 49ed265c..2c910468 100755 --- a/package/plugin-lstm-rnnt-dec-onnx/install.sh +++ b/package/plugin-lstm-rnnt-dec-onnx/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for CK packages. # diff --git a/package/plugin-lstm-rnnt-dec-pytorch/install.sh b/package/plugin-lstm-rnnt-dec-pytorch/install.sh index f2994302..1346e216 100755 --- a/package/plugin-lstm-rnnt-dec-pytorch/install.sh +++ b/package/plugin-lstm-rnnt-dec-pytorch/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for CK packages. # diff --git a/package/plugin-lstm-rnnt-post-glow/install.sh b/package/plugin-lstm-rnnt-post-glow/install.sh index d096253d..add3d83a 100755 --- a/package/plugin-lstm-rnnt-post-glow/install.sh +++ b/package/plugin-lstm-rnnt-post-glow/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for CK packages. # diff --git a/package/plugin-lstm-rnnt-post-onnx/install.sh b/package/plugin-lstm-rnnt-post-onnx/install.sh index 36f4e3f3..2e0421f5 100755 --- a/package/plugin-lstm-rnnt-post-onnx/install.sh +++ b/package/plugin-lstm-rnnt-post-onnx/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for CK packages. # diff --git a/package/plugin-lstm-rnnt-post-pytorch/install.sh b/package/plugin-lstm-rnnt-post-pytorch/install.sh index 41c82b74..ad4a70b7 100755 --- a/package/plugin-lstm-rnnt-post-pytorch/install.sh +++ b/package/plugin-lstm-rnnt-post-pytorch/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for CK packages. # diff --git a/package/plugin-lstm-rnnt-pre-glow/install.sh b/package/plugin-lstm-rnnt-pre-glow/install.sh index 4c789b17..ff319190 100755 --- a/package/plugin-lstm-rnnt-pre-glow/install.sh +++ b/package/plugin-lstm-rnnt-pre-glow/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for CK packages. # diff --git a/package/plugin-lstm-rnnt-pre-onnx/install.sh b/package/plugin-lstm-rnnt-pre-onnx/install.sh index 82f99f40..ad50f030 100755 --- a/package/plugin-lstm-rnnt-pre-onnx/install.sh +++ b/package/plugin-lstm-rnnt-pre-onnx/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for CK packages. # diff --git a/package/plugin-lstm-rnnt-pre-pytorch/install.sh b/package/plugin-lstm-rnnt-pre-pytorch/install.sh index f2994302..1346e216 100755 --- a/package/plugin-lstm-rnnt-pre-pytorch/install.sh +++ b/package/plugin-lstm-rnnt-pre-pytorch/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for CK packages. # diff --git a/package/tensorflowmodel-alexnet-py/alexnet-model.py b/package/tensorflowmodel-alexnet-py/alexnet-model.py index 4bbf6b42..cf555f16 100644 --- a/package/tensorflowmodel-alexnet-py/alexnet-model.py +++ b/package/tensorflowmodel-alexnet-py/alexnet-model.py @@ -2,9 +2,8 @@ # Copyright (c) 2017-2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. -# +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # AlexNet for TensorFlow # Implementation is based on https://www.cs.toronto.edu/~guerzhoy/tf_alexnet/ diff --git a/package/tensorflowmodel-alexnet-py/scripts.linux/install.sh b/package/tensorflowmodel-alexnet-py/scripts.linux/install.sh index d0f5abe5..62b50520 100644 --- a/package/tensorflowmodel-alexnet-py/scripts.linux/install.sh +++ b/package/tensorflowmodel-alexnet-py/scripts.linux/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2017-2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # AlexNet for TensorFlow # Python model and weights install script diff --git a/package/tensorflowmodel-googlenet-py/googlenet-model.py b/package/tensorflowmodel-googlenet-py/googlenet-model.py index cc7c7b1f..c0dfd65a 100644 --- a/package/tensorflowmodel-googlenet-py/googlenet-model.py +++ b/package/tensorflowmodel-googlenet-py/googlenet-model.py @@ -2,8 +2,8 @@ # Copyright (c) 2017-2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # # GoogleNet for TensorFlow diff --git a/package/tensorflowmodel-googlenet-py/scripts.linux/install.sh b/package/tensorflowmodel-googlenet-py/scripts.linux/install.sh index 9f1241b5..49461b3b 100644 --- a/package/tensorflowmodel-googlenet-py/scripts.linux/install.sh +++ b/package/tensorflowmodel-googlenet-py/scripts.linux/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2017-2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # GoogleNet for TensorFlow # Python model and weights install script diff --git a/package/tensorflowmodel-mobilenet-v2/install.sh b/package/tensorflowmodel-mobilenet-v2/install.sh index c4bd082b..afa70e94 100644 --- a/package/tensorflowmodel-mobilenet-v2/install.sh +++ b/package/tensorflowmodel-mobilenet-v2/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # cp ${ORIGINAL_PACKAGE_DIR}/README.md . diff --git a/package/tensorflowmodel-squeezenet-py/scripts.linux/install.sh b/package/tensorflowmodel-squeezenet-py/scripts.linux/install.sh index 73de9072..b7f14892 100644 --- a/package/tensorflowmodel-squeezenet-py/scripts.linux/install.sh +++ b/package/tensorflowmodel-squeezenet-py/scripts.linux/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2017-2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # SqueezeNet for TensorFlow # Python model and weights install script diff --git a/package/tensorflowmodel-squeezenet-py/squeezenet-model.py b/package/tensorflowmodel-squeezenet-py/squeezenet-model.py index 44ff3aa7..cd13194d 100644 --- a/package/tensorflowmodel-squeezenet-py/squeezenet-model.py +++ b/package/tensorflowmodel-squeezenet-py/squeezenet-model.py @@ -2,8 +2,8 @@ # Copyright (c) 2017-2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # # SqueezeNet v1.1 (signature pool 1/3/5) diff --git a/program/.cm/alias-a-tensorrt-test b/program/.cm/alias-a-tensorrt-test deleted file mode 100644 index ddf79801..00000000 --- a/program/.cm/alias-a-tensorrt-test +++ /dev/null @@ -1 +0,0 @@ -5e23a492b9138354 diff --git a/program/.cm/alias-a-tensorrt-time b/program/.cm/alias-a-tensorrt-time deleted file mode 100644 index 93c64f56..00000000 --- a/program/.cm/alias-a-tensorrt-time +++ /dev/null @@ -1 +0,0 @@ -5d4e5a43da89baca diff --git a/program/.cm/alias-u-5d4e5a43da89baca b/program/.cm/alias-u-5d4e5a43da89baca deleted file mode 100644 index b0223a13..00000000 --- a/program/.cm/alias-u-5d4e5a43da89baca +++ /dev/null @@ -1 +0,0 @@ -tensorrt-time diff --git a/program/.cm/alias-u-5e23a492b9138354 b/program/.cm/alias-u-5e23a492b9138354 deleted file mode 100644 index 633fec0a..00000000 --- a/program/.cm/alias-u-5e23a492b9138354 +++ /dev/null @@ -1 +0,0 @@ -tensorrt-test diff --git a/program/acl-alexnet-neon/alexnet.cpp b/program/acl-alexnet-neon/alexnet.cpp index 036205eb..57649726 100644 --- a/program/acl-alexnet-neon/alexnet.cpp +++ b/program/acl-alexnet-neon/alexnet.cpp @@ -1,26 +1,8 @@ /* - * Copyright (c) 2017 dividiti Limited. - * - * SPDX-License-Identifier: MIT - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to - * deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ + #ifndef __ARM_COMPUTE_LIBRARY_BENCHMARK_ALEXNET_H__ #define __ARM_COMPUTE_LIBRARY_BENCHMARK_ALEXNET_H__ diff --git a/program/armcl-classification-mobilenet/armcl_graph_common.h b/program/armcl-classification-mobilenet/armcl_graph_common.h index 79d9abbc..2fabef62 100644 --- a/program/armcl-classification-mobilenet/armcl_graph_common.h +++ b/program/armcl-classification-mobilenet/armcl_graph_common.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #pragma once diff --git a/program/armcl-classification-mobilenet/classification_demo.h b/program/armcl-classification-mobilenet/classification_demo.h index f0e60039..8ff5888a 100644 --- a/program/armcl-classification-mobilenet/classification_demo.h +++ b/program/armcl-classification-mobilenet/classification_demo.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #pragma once diff --git a/program/armcl-classification-mobilenet/classify.cpp b/program/armcl-classification-mobilenet/classify.cpp index 2ed8627f..3810aee6 100644 --- a/program/armcl-classification-mobilenet/classify.cpp +++ b/program/armcl-classification-mobilenet/classify.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "image_helper.h" diff --git a/program/armcl-classification-mobilenet/preprocess.py b/program/armcl-classification-mobilenet/preprocess.py index ec9b4b7d..3c8c7b97 100644 --- a/program/armcl-classification-mobilenet/preprocess.py +++ b/program/armcl-classification-mobilenet/preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/avgpool-armcl-opencl-uint8/avgpool.cpp b/program/avgpool-armcl-opencl-uint8/avgpool.cpp index 537ea156..4f5e923c 100644 --- a/program/avgpool-armcl-opencl-uint8/avgpool.cpp +++ b/program/avgpool-armcl-opencl-uint8/avgpool.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/avgpool-armcl-opencl/avgpool.cpp b/program/avgpool-armcl-opencl/avgpool.cpp index 0e92dc89..eea2bc07 100644 --- a/program/avgpool-armcl-opencl/avgpool.cpp +++ b/program/avgpool-armcl-opencl/avgpool.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/avgpool-caffe-cpu/avgpool.cpp b/program/avgpool-caffe-cpu/avgpool.cpp index 34c63f1b..0a0f41d5 100644 --- a/program/avgpool-caffe-cpu/avgpool.cpp +++ b/program/avgpool-caffe-cpu/avgpool.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_caffe_avgpool.h" diff --git a/program/avgpool-caffe-opencl/avgpool.cpp b/program/avgpool-caffe-opencl/avgpool.cpp index 578165f7..df205b6f 100644 --- a/program/avgpool-caffe-opencl/avgpool.cpp +++ b/program/avgpool-caffe-opencl/avgpool.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_caffe_avgpool.h" diff --git a/program/avgpool-tensorflow-cpu-uint8/avgpool.cpp b/program/avgpool-tensorflow-cpu-uint8/avgpool.cpp index e2b17ebc..02f553db 100644 --- a/program/avgpool-tensorflow-cpu-uint8/avgpool.cpp +++ b/program/avgpool-tensorflow-cpu-uint8/avgpool.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_tensorflow.h" diff --git a/program/avgpool-tensorflow-cpu/avgpool.cpp b/program/avgpool-tensorflow-cpu/avgpool.cpp index 6bf86f45..9c94ae31 100644 --- a/program/avgpool-tensorflow-cpu/avgpool.cpp +++ b/program/avgpool-tensorflow-cpu/avgpool.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_tensorflow.h" diff --git a/program/benchmark-armcl-opencl/preprocess.py b/program/benchmark-armcl-opencl/preprocess.py index 7a7c9b75..56050c61 100644 --- a/program/benchmark-armcl-opencl/preprocess.py +++ b/program/benchmark-armcl-opencl/preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # def ck_preprocess(i): diff --git a/program/conv-armcl-opencl-uint8/conv.cpp b/program/conv-armcl-opencl-uint8/conv.cpp index aaa88301..9ded5a90 100644 --- a/program/conv-armcl-opencl-uint8/conv.cpp +++ b/program/conv-armcl-opencl-uint8/conv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017-2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #if defined(ARMCL_18_05_PLUS) diff --git a/program/conv-armcl-opencl/conv.cpp b/program/conv-armcl-opencl/conv.cpp index 9e1a9c8e..4974ef44 100644 --- a/program/conv-armcl-opencl/conv.cpp +++ b/program/conv-armcl-opencl/conv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #if defined(ARMCL_18_05_PLUS) diff --git a/program/conv-caffe-cpu/conv.cpp b/program/conv-caffe-cpu/conv.cpp index 8c5d5575..6f4c3f69 100644 --- a/program/conv-caffe-cpu/conv.cpp +++ b/program/conv-caffe-cpu/conv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_caffe_conv.h" diff --git a/program/conv-caffe-opencl/conv.cpp b/program/conv-caffe-opencl/conv.cpp index f8340f0c..4dae8d6e 100644 --- a/program/conv-caffe-opencl/conv.cpp +++ b/program/conv-caffe-opencl/conv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_caffe_conv.h" diff --git a/program/conv-tensorflow-cpu/conv.cpp b/program/conv-tensorflow-cpu/conv.cpp index a0d5947e..5c9471ff 100644 --- a/program/conv-tensorflow-cpu/conv.cpp +++ b/program/conv-tensorflow-cpu/conv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_tensorflow.h" diff --git a/program/depthwiseconv-armcl-opencl-uint8/depthwiseconv.cpp b/program/depthwiseconv-armcl-opencl-uint8/depthwiseconv.cpp index 5d137b81..3d076aa8 100644 --- a/program/depthwiseconv-armcl-opencl-uint8/depthwiseconv.cpp +++ b/program/depthwiseconv-armcl-opencl-uint8/depthwiseconv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/depthwiseconv-armcl-opencl/depthwiseconv.cpp b/program/depthwiseconv-armcl-opencl/depthwiseconv.cpp index 740ab0d3..4fb9c476 100644 --- a/program/depthwiseconv-armcl-opencl/depthwiseconv.cpp +++ b/program/depthwiseconv-armcl-opencl/depthwiseconv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/depthwiseconv-tensorflow-cpu/depthwiseconv.cpp b/program/depthwiseconv-tensorflow-cpu/depthwiseconv.cpp index 912b1a17..4186223e 100644 --- a/program/depthwiseconv-tensorflow-cpu/depthwiseconv.cpp +++ b/program/depthwiseconv-tensorflow-cpu/depthwiseconv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_tensorflow.h" diff --git a/program/directconv-armcl-opencl-uint8/directconv.cpp b/program/directconv-armcl-opencl-uint8/directconv.cpp index b698b5a1..dc94af63 100644 --- a/program/directconv-armcl-opencl-uint8/directconv.cpp +++ b/program/directconv-armcl-opencl-uint8/directconv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/directconv-armcl-opencl/directconv.cpp b/program/directconv-armcl-opencl/directconv.cpp index 67d9e989..7812b62c 100644 --- a/program/directconv-armcl-opencl/directconv.cpp +++ b/program/directconv-armcl-opencl/directconv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/directconv-caffe-cpu/directconv.cpp b/program/directconv-caffe-cpu/directconv.cpp index 48ad2b3a..72c2d234 100644 --- a/program/directconv-caffe-cpu/directconv.cpp +++ b/program/directconv-caffe-cpu/directconv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_caffe_conv.h" diff --git a/program/directconv-caffe-opencl/directconv.cpp b/program/directconv-caffe-opencl/directconv.cpp index 7d330c96..dd3335ff 100644 --- a/program/directconv-caffe-opencl/directconv.cpp +++ b/program/directconv-caffe-opencl/directconv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_caffe_conv.h" diff --git a/program/double-inference/ck_utils.py b/program/double-inference/ck_utils.py index 1cd2d423..67cf09d3 100644 --- a/program/double-inference/ck_utils.py +++ b/program/double-inference/ck_utils.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/double-inference/detect.py b/program/double-inference/detect.py index 4bbc9f6e..67463ba3 100644 --- a/program/double-inference/detect.py +++ b/program/double-inference/detect.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import sys diff --git a/program/fullyconnected-armcl-opencl-uint8/fullyconnected.cpp b/program/fullyconnected-armcl-opencl-uint8/fullyconnected.cpp index 3f080c9c..a680bf08 100644 --- a/program/fullyconnected-armcl-opencl-uint8/fullyconnected.cpp +++ b/program/fullyconnected-armcl-opencl-uint8/fullyconnected.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/fullyconnected-armcl-opencl/fullyconnected.cpp b/program/fullyconnected-armcl-opencl/fullyconnected.cpp index b9be61b1..2459c2b9 100644 --- a/program/fullyconnected-armcl-opencl/fullyconnected.cpp +++ b/program/fullyconnected-armcl-opencl/fullyconnected.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/fullyconnected-caffe-cpu/fullyconnected.cpp b/program/fullyconnected-caffe-cpu/fullyconnected.cpp index 65762e15..88878360 100644 --- a/program/fullyconnected-caffe-cpu/fullyconnected.cpp +++ b/program/fullyconnected-caffe-cpu/fullyconnected.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. **/ #include "ck_nntest_caffe_fc.h" diff --git a/program/fullyconnected-caffe-opencl/fullyconnected.cpp b/program/fullyconnected-caffe-opencl/fullyconnected.cpp index 52d3005f..a91ba29d 100644 --- a/program/fullyconnected-caffe-opencl/fullyconnected.cpp +++ b/program/fullyconnected-caffe-opencl/fullyconnected.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_caffe_fc.h" diff --git a/program/gemm-armcl-opencl/gemm.cpp b/program/gemm-armcl-opencl/gemm.cpp index f22ad432..63e71afb 100644 --- a/program/gemm-armcl-opencl/gemm.cpp +++ b/program/gemm-armcl-opencl/gemm.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/image-classification-armnn-tflite-loadgen/benchmark.h b/program/image-classification-armnn-tflite-loadgen/benchmark.h index 145abcc6..b989fddd 100644 --- a/program/image-classification-armnn-tflite-loadgen/benchmark.h +++ b/program/image-classification-armnn-tflite-loadgen/benchmark.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #pragma once diff --git a/program/image-classification-armnn-tflite-loadgen/classification.cpp b/program/image-classification-armnn-tflite-loadgen/classification.cpp index 72365140..89585d54 100644 --- a/program/image-classification-armnn-tflite-loadgen/classification.cpp +++ b/program/image-classification-armnn-tflite-loadgen/classification.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/image-classification-tf-cpp/classification.cpp b/program/image-classification-tf-cpp/classification.cpp index 5114ed1a..ab3b9016 100644 --- a/program/image-classification-tf-cpp/classification.cpp +++ b/program/image-classification-tf-cpp/classification.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ // TODO: this header should be moved to a common location (where?) diff --git a/program/image-classification-tf-py/classify.py b/program/image-classification-tf-py/classify.py index ff07dc14..69a81ed3 100644 --- a/program/image-classification-tf-py/classify.py +++ b/program/image-classification-tf-py/classify.py @@ -2,8 +2,8 @@ # Copyright (c) 2017-2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import imp diff --git a/program/image-classification-tflite-codereef-android/benchmark.h b/program/image-classification-tflite-codereef-android/benchmark.h index 58b82a5e..66a72735 100644 --- a/program/image-classification-tflite-codereef-android/benchmark.h +++ b/program/image-classification-tflite-codereef-android/benchmark.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #pragma once diff --git a/program/image-classification-tflite-codereef-android/classification.cpp b/program/image-classification-tflite-codereef-android/classification.cpp index b443aaf6..ccd02ea2 100644 --- a/program/image-classification-tflite-codereef-android/classification.cpp +++ b/program/image-classification-tflite-codereef-android/classification.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/image-classification-tflite-codereef-android/codereef_preprocess.py b/program/image-classification-tflite-codereef-android/codereef_preprocess.py index d5015de3..ab037490 100644 --- a/program/image-classification-tflite-codereef-android/codereef_preprocess.py +++ b/program/image-classification-tflite-codereef-android/codereef_preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/image-classification-tflite-codereef/benchmark.h b/program/image-classification-tflite-codereef/benchmark.h index 58b82a5e..66a72735 100644 --- a/program/image-classification-tflite-codereef/benchmark.h +++ b/program/image-classification-tflite-codereef/benchmark.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #pragma once diff --git a/program/image-classification-tflite-codereef/classification.cpp b/program/image-classification-tflite-codereef/classification.cpp index b443aaf6..ccd02ea2 100644 --- a/program/image-classification-tflite-codereef/classification.cpp +++ b/program/image-classification-tflite-codereef/classification.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/image-classification-tflite-codereef/codereef_preprocess.py b/program/image-classification-tflite-codereef/codereef_preprocess.py index d5015de3..ab037490 100644 --- a/program/image-classification-tflite-codereef/codereef_preprocess.py +++ b/program/image-classification-tflite-codereef/codereef_preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/image-classification-tflite-loadgen/benchmark.h b/program/image-classification-tflite-loadgen/benchmark.h index 145abcc6..b989fddd 100644 --- a/program/image-classification-tflite-loadgen/benchmark.h +++ b/program/image-classification-tflite-loadgen/benchmark.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #pragma once diff --git a/program/image-classification-tflite-loadgen/classification.cpp b/program/image-classification-tflite-loadgen/classification.cpp index 64df3aa2..d118de66 100644 --- a/program/image-classification-tflite-loadgen/classification.cpp +++ b/program/image-classification-tflite-loadgen/classification.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/image-classification-tflite/benchmark.h b/program/image-classification-tflite/benchmark.h index ae198230..b7260621 100644 --- a/program/image-classification-tflite/benchmark.h +++ b/program/image-classification-tflite/benchmark.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #pragma once diff --git a/program/image-classification-tflite/classification.cpp b/program/image-classification-tflite/classification.cpp index d6f8860e..c6949fb6 100644 --- a/program/image-classification-tflite/classification.cpp +++ b/program/image-classification-tflite/classification.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "benchmark.h" diff --git a/program/mlperf-inference-vision/detect.py b/program/mlperf-inference-vision/detect.py index 6d6abd57..0767ac94 100644 --- a/program/mlperf-inference-vision/detect.py +++ b/program/mlperf-inference-vision/detect.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import sys diff --git a/program/mlperf-inference-vision/postprocess.py b/program/mlperf-inference-vision/postprocess.py index c95c3cb5..da540db3 100644 --- a/program/mlperf-inference-vision/postprocess.py +++ b/program/mlperf-inference-vision/postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2019 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-onnx-py/detect.py b/program/object-detection-onnx-py/detect.py index 04ad857f..79800fe7 100644 --- a/program/object-detection-onnx-py/detect.py +++ b/program/object-detection-onnx-py/detect.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # import sys diff --git a/program/object-detection-tf-py-benchmark/calc_metrics_coco.py b/program/object-detection-tf-py-benchmark/calc_metrics_coco.py index c4c26764..ae6761c3 100644 --- a/program/object-detection-tf-py-benchmark/calc_metrics_coco.py +++ b/program/object-detection-tf-py-benchmark/calc_metrics_coco.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-benchmark/calc_metrics_kitti.py b/program/object-detection-tf-py-benchmark/calc_metrics_kitti.py index bdddb697..5581082c 100644 --- a/program/object-detection-tf-py-benchmark/calc_metrics_kitti.py +++ b/program/object-detection-tf-py-benchmark/calc_metrics_kitti.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-benchmark/calc_metrics_oid.py b/program/object-detection-tf-py-benchmark/calc_metrics_oid.py index 046072ca..f94e865d 100644 --- a/program/object-detection-tf-py-benchmark/calc_metrics_oid.py +++ b/program/object-detection-tf-py-benchmark/calc_metrics_oid.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-benchmark/ck_utils.py b/program/object-detection-tf-py-benchmark/ck_utils.py index 1cd2d423..67cf09d3 100644 --- a/program/object-detection-tf-py-benchmark/ck_utils.py +++ b/program/object-detection-tf-py-benchmark/ck_utils.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-benchmark/converter_annotations.py b/program/object-detection-tf-py-benchmark/converter_annotations.py index 14783b2a..e9d89b12 100644 --- a/program/object-detection-tf-py-benchmark/converter_annotations.py +++ b/program/object-detection-tf-py-benchmark/converter_annotations.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-benchmark/converter_results.py b/program/object-detection-tf-py-benchmark/converter_results.py index 5b42f9e5..ce54eb29 100644 --- a/program/object-detection-tf-py-benchmark/converter_results.py +++ b/program/object-detection-tf-py-benchmark/converter_results.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-benchmark/detect.py b/program/object-detection-tf-py-benchmark/detect.py index de8a4661..d6340a1d 100644 --- a/program/object-detection-tf-py-benchmark/detect.py +++ b/program/object-detection-tf-py-benchmark/detect.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import sys diff --git a/program/object-detection-tf-py-benchmark/postprocess.py b/program/object-detection-tf-py-benchmark/postprocess.py index 0c6727b5..836e106b 100644 --- a/program/object-detection-tf-py-benchmark/postprocess.py +++ b/program/object-detection-tf-py-benchmark/postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-codereef/calc_metrics_coco.py b/program/object-detection-tf-py-codereef/calc_metrics_coco.py index c4c26764..ae6761c3 100644 --- a/program/object-detection-tf-py-codereef/calc_metrics_coco.py +++ b/program/object-detection-tf-py-codereef/calc_metrics_coco.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-codereef/calc_metrics_kitti.py b/program/object-detection-tf-py-codereef/calc_metrics_kitti.py index bdddb697..5581082c 100644 --- a/program/object-detection-tf-py-codereef/calc_metrics_kitti.py +++ b/program/object-detection-tf-py-codereef/calc_metrics_kitti.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-codereef/calc_metrics_oid.py b/program/object-detection-tf-py-codereef/calc_metrics_oid.py index 046072ca..f94e865d 100644 --- a/program/object-detection-tf-py-codereef/calc_metrics_oid.py +++ b/program/object-detection-tf-py-codereef/calc_metrics_oid.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-codereef/ck_utils.py b/program/object-detection-tf-py-codereef/ck_utils.py index 1cd2d423..67cf09d3 100644 --- a/program/object-detection-tf-py-codereef/ck_utils.py +++ b/program/object-detection-tf-py-codereef/ck_utils.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-codereef/converter_annotations.py b/program/object-detection-tf-py-codereef/converter_annotations.py index 14783b2a..e9d89b12 100644 --- a/program/object-detection-tf-py-codereef/converter_annotations.py +++ b/program/object-detection-tf-py-codereef/converter_annotations.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-codereef/converter_results.py b/program/object-detection-tf-py-codereef/converter_results.py index 5b42f9e5..ce54eb29 100644 --- a/program/object-detection-tf-py-codereef/converter_results.py +++ b/program/object-detection-tf-py-codereef/converter_results.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py-codereef/detect.py b/program/object-detection-tf-py-codereef/detect.py index e8c66c5a..86b8c44a 100644 --- a/program/object-detection-tf-py-codereef/detect.py +++ b/program/object-detection-tf-py-codereef/detect.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import sys diff --git a/program/object-detection-tf-py-codereef/detect.py.save b/program/object-detection-tf-py-codereef/detect.py.save index e6479c90..58be9efc 100644 --- a/program/object-detection-tf-py-codereef/detect.py.save +++ b/program/object-detection-tf-py-codereef/detect.py.save @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import sys diff --git a/program/object-detection-tf-py-codereef/postprocess.py b/program/object-detection-tf-py-codereef/postprocess.py index b2482d00..14f2dbfd 100644 --- a/program/object-detection-tf-py-codereef/postprocess.py +++ b/program/object-detection-tf-py-codereef/postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py/calc_metrics_coco.py b/program/object-detection-tf-py/calc_metrics_coco.py index c4c26764..ae6761c3 100644 --- a/program/object-detection-tf-py/calc_metrics_coco.py +++ b/program/object-detection-tf-py/calc_metrics_coco.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py/calc_metrics_kitti.py b/program/object-detection-tf-py/calc_metrics_kitti.py index bdddb697..5581082c 100644 --- a/program/object-detection-tf-py/calc_metrics_kitti.py +++ b/program/object-detection-tf-py/calc_metrics_kitti.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py/calc_metrics_oid.py b/program/object-detection-tf-py/calc_metrics_oid.py index 046072ca..f94e865d 100644 --- a/program/object-detection-tf-py/calc_metrics_oid.py +++ b/program/object-detection-tf-py/calc_metrics_oid.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py/ck_utils.py b/program/object-detection-tf-py/ck_utils.py index 1cd2d423..67cf09d3 100644 --- a/program/object-detection-tf-py/ck_utils.py +++ b/program/object-detection-tf-py/ck_utils.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py/converter_annotations.py b/program/object-detection-tf-py/converter_annotations.py index 14783b2a..e9d89b12 100644 --- a/program/object-detection-tf-py/converter_annotations.py +++ b/program/object-detection-tf-py/converter_annotations.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py/converter_results.py b/program/object-detection-tf-py/converter_results.py index 5b42f9e5..ce54eb29 100644 --- a/program/object-detection-tf-py/converter_results.py +++ b/program/object-detection-tf-py/converter_results.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tf-py/detect.py b/program/object-detection-tf-py/detect.py index de8a4661..d6340a1d 100644 --- a/program/object-detection-tf-py/detect.py +++ b/program/object-detection-tf-py/detect.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import sys diff --git a/program/object-detection-tf-py/postprocess.py b/program/object-detection-tf-py/postprocess.py index 82ee22c5..c21f8ee3 100644 --- a/program/object-detection-tf-py/postprocess.py +++ b/program/object-detection-tf-py/postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/object-detection-tflite-benchmark/detect.cpp b/program/object-detection-tflite-benchmark/detect.cpp index 1aa4738f..4584bcdb 100644 --- a/program/object-detection-tflite-benchmark/detect.cpp +++ b/program/object-detection-tflite-benchmark/detect.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "includes/detect.hpp" diff --git a/program/object-detection-tflite-benchmark/includes/benchmark.h b/program/object-detection-tflite-benchmark/includes/benchmark.h index d0152d51..e262e7c5 100644 --- a/program/object-detection-tflite-benchmark/includes/benchmark.h +++ b/program/object-detection-tflite-benchmark/includes/benchmark.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef BENCHMARK_H diff --git a/program/object-detection-tflite-benchmark/includes/detect.hpp b/program/object-detection-tflite-benchmark/includes/detect.hpp index 6fd0dc43..a80b1f23 100644 --- a/program/object-detection-tflite-benchmark/includes/detect.hpp +++ b/program/object-detection-tflite-benchmark/includes/detect.hpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef DETECT_H diff --git a/program/object-detection-tflite-benchmark/includes/settings.h b/program/object-detection-tflite-benchmark/includes/settings.h index 88778c74..83168604 100644 --- a/program/object-detection-tflite-benchmark/includes/settings.h +++ b/program/object-detection-tflite-benchmark/includes/settings.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef DETECT_SETTINGS_H diff --git a/program/object-detection-tflite-codereef/detect.cpp b/program/object-detection-tflite-codereef/detect.cpp index 1aa4738f..4584bcdb 100644 --- a/program/object-detection-tflite-codereef/detect.cpp +++ b/program/object-detection-tflite-codereef/detect.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "includes/detect.hpp" diff --git a/program/object-detection-tflite-codereef/includes/benchmark.h b/program/object-detection-tflite-codereef/includes/benchmark.h index d0152d51..e262e7c5 100644 --- a/program/object-detection-tflite-codereef/includes/benchmark.h +++ b/program/object-detection-tflite-codereef/includes/benchmark.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef BENCHMARK_H diff --git a/program/object-detection-tflite-codereef/includes/detect.hpp b/program/object-detection-tflite-codereef/includes/detect.hpp index 6fd0dc43..a80b1f23 100644 --- a/program/object-detection-tflite-codereef/includes/detect.hpp +++ b/program/object-detection-tflite-codereef/includes/detect.hpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef DETECT_H diff --git a/program/object-detection-tflite-codereef/includes/settings.h b/program/object-detection-tflite-codereef/includes/settings.h index 88778c74..83168604 100644 --- a/program/object-detection-tflite-codereef/includes/settings.h +++ b/program/object-detection-tflite-codereef/includes/settings.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef DETECT_SETTINGS_H diff --git a/program/object-detection-tflite-loadgen/detect.cpp b/program/object-detection-tflite-loadgen/detect.cpp index a76945bb..d59735fa 100644 --- a/program/object-detection-tflite-loadgen/detect.cpp +++ b/program/object-detection-tflite-loadgen/detect.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2020 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "includes/detect.hpp" diff --git a/program/object-detection-tflite-loadgen/includes/benchmark.h b/program/object-detection-tflite-loadgen/includes/benchmark.h index c9dbfec0..ad0f8e4c 100644 --- a/program/object-detection-tflite-loadgen/includes/benchmark.h +++ b/program/object-detection-tflite-loadgen/includes/benchmark.h @@ -1,9 +1,6 @@ /* - * Copyright (c) 2020 dividiti. - * See CK COPYRIGHT.txt for copyright details. - * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef BENCHMARK_H diff --git a/program/object-detection-tflite-loadgen/includes/detect.hpp b/program/object-detection-tflite-loadgen/includes/detect.hpp index 7a3c3f61..1a394656 100644 --- a/program/object-detection-tflite-loadgen/includes/detect.hpp +++ b/program/object-detection-tflite-loadgen/includes/detect.hpp @@ -2,8 +2,8 @@ * Copyright (c) 2020 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef DETECT_H diff --git a/program/object-detection-tflite-loadgen/includes/settings.h b/program/object-detection-tflite-loadgen/includes/settings.h index fb94bb30..7551bc83 100644 --- a/program/object-detection-tflite-loadgen/includes/settings.h +++ b/program/object-detection-tflite-loadgen/includes/settings.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef DETECT_SETTINGS_H diff --git a/program/object-detection-tflite/detect.cpp b/program/object-detection-tflite/detect.cpp index 1aa4738f..4584bcdb 100644 --- a/program/object-detection-tflite/detect.cpp +++ b/program/object-detection-tflite/detect.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "includes/detect.hpp" diff --git a/program/object-detection-tflite/includes/benchmark.h b/program/object-detection-tflite/includes/benchmark.h index d0152d51..e262e7c5 100644 --- a/program/object-detection-tflite/includes/benchmark.h +++ b/program/object-detection-tflite/includes/benchmark.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef BENCHMARK_H diff --git a/program/object-detection-tflite/includes/detect.hpp b/program/object-detection-tflite/includes/detect.hpp index 6fd0dc43..a80b1f23 100644 --- a/program/object-detection-tflite/includes/detect.hpp +++ b/program/object-detection-tflite/includes/detect.hpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef DETECT_H diff --git a/program/object-detection-tflite/includes/settings.h b/program/object-detection-tflite/includes/settings.h index 88778c74..83168604 100644 --- a/program/object-detection-tflite/includes/settings.h +++ b/program/object-detection-tflite/includes/settings.h @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #ifndef DETECT_SETTINGS_H diff --git a/program/reshape-armcl-opencl-uint8/reshape.cpp b/program/reshape-armcl-opencl-uint8/reshape.cpp index 1d16049b..82c3eb46 100644 --- a/program/reshape-armcl-opencl-uint8/reshape.cpp +++ b/program/reshape-armcl-opencl-uint8/reshape.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/reshape-armcl-opencl/reshape.cpp b/program/reshape-armcl-opencl/reshape.cpp index feae2e75..4a02db98 100644 --- a/program/reshape-armcl-opencl/reshape.cpp +++ b/program/reshape-armcl-opencl/reshape.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/reshape-tensorflow-cpu-uint8/reshape.cpp b/program/reshape-tensorflow-cpu-uint8/reshape.cpp index 301830bc..37771e1a 100644 --- a/program/reshape-tensorflow-cpu-uint8/reshape.cpp +++ b/program/reshape-tensorflow-cpu-uint8/reshape.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_tensorflow.h" diff --git a/program/reshape-tensorflow-cpu/reshape.cpp b/program/reshape-tensorflow-cpu/reshape.cpp index 152750e9..eb6f4386 100644 --- a/program/reshape-tensorflow-cpu/reshape.cpp +++ b/program/reshape-tensorflow-cpu/reshape.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_tensorflow.h" diff --git a/program/resizebilinear-armcl-opencl-uint8/resizebilinear.cpp b/program/resizebilinear-armcl-opencl-uint8/resizebilinear.cpp index a23faa64..cdfab47b 100644 --- a/program/resizebilinear-armcl-opencl-uint8/resizebilinear.cpp +++ b/program/resizebilinear-armcl-opencl-uint8/resizebilinear.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/resizebilinear-armcl-opencl/resizebilinear.cpp b/program/resizebilinear-armcl-opencl/resizebilinear.cpp index 01cb7664..54f2cc85 100644 --- a/program/resizebilinear-armcl-opencl/resizebilinear.cpp +++ b/program/resizebilinear-armcl-opencl/resizebilinear.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/resizebilinear-tensorflow-cpu/resizebilinear.cpp b/program/resizebilinear-tensorflow-cpu/resizebilinear.cpp index a20957cf..397ab5e6 100644 --- a/program/resizebilinear-tensorflow-cpu/resizebilinear.cpp +++ b/program/resizebilinear-tensorflow-cpu/resizebilinear.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "tensorflow/cc/ops/const_op.h" diff --git a/program/softmax-armcl-opencl-uint8/softmax.cpp b/program/softmax-armcl-opencl-uint8/softmax.cpp index 027f8c26..d11dcc0f 100644 --- a/program/softmax-armcl-opencl-uint8/softmax.cpp +++ b/program/softmax-armcl-opencl-uint8/softmax.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/softmax-armcl-opencl/softmax.cpp b/program/softmax-armcl-opencl/softmax.cpp index 7f6d7e92..91aaf6f5 100644 --- a/program/softmax-armcl-opencl/softmax.cpp +++ b/program/softmax-armcl-opencl/softmax.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/program/softmax-caffe-cpu/softmax.cpp b/program/softmax-caffe-cpu/softmax.cpp index 7b43aa47..73e77f0b 100644 --- a/program/softmax-caffe-cpu/softmax.cpp +++ b/program/softmax-caffe-cpu/softmax.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_caffe_softmax.h" diff --git a/program/softmax-caffe-opencl/softmax.cpp b/program/softmax-caffe-opencl/softmax.cpp index 6dace665..117d0b25 100644 --- a/program/softmax-caffe-opencl/softmax.cpp +++ b/program/softmax-caffe-opencl/softmax.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_caffe_softmax.h" diff --git a/program/softmax-tensorflow-cpu/softmax.cpp b/program/softmax-tensorflow-cpu/softmax.cpp index cd183076..557230b6 100644 --- a/program/softmax-tensorflow-cpu/softmax.cpp +++ b/program/softmax-tensorflow-cpu/softmax.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include "ck_nntest_tensorflow.h" diff --git a/program/squeezedet/image_benchmark.py b/program/squeezedet/image_benchmark.py index dd2b9ea0..470c9dd5 100644 --- a/program/squeezedet/image_benchmark.py +++ b/program/squeezedet/image_benchmark.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # # This benchmark is based on demo https://github.com/BichenWuUCB/squeezeDet diff --git a/program/tensorflow-detection-squeezedet/evaluation.py b/program/tensorflow-detection-squeezedet/evaluation.py index 34b80539..87349452 100644 --- a/program/tensorflow-detection-squeezedet/evaluation.py +++ b/program/tensorflow-detection-squeezedet/evaluation.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/tensorflow-detection-squeezedet/preprocess.py b/program/tensorflow-detection-squeezedet/preprocess.py index 4c287007..fd870567 100644 --- a/program/tensorflow-detection-squeezedet/preprocess.py +++ b/program/tensorflow-detection-squeezedet/preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/tensorflow-detection-squeezedet/squeezedet.py b/program/tensorflow-detection-squeezedet/squeezedet.py index 4002c442..fa294dfd 100644 --- a/program/tensorflow-detection-squeezedet/squeezedet.py +++ b/program/tensorflow-detection-squeezedet/squeezedet.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/tensorflow-freeze/freeze.py b/program/tensorflow-freeze/freeze.py index 425b82c6..c6d4b760 100644 --- a/program/tensorflow-freeze/freeze.py +++ b/program/tensorflow-freeze/freeze.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import imp diff --git a/program/tensorrt-test/.cm/desc.json b/program/tensorrt-test/.cm/desc.json deleted file mode 100644 index 0967ef42..00000000 --- a/program/tensorrt-test/.cm/desc.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/program/tensorrt-test/.cm/info.json b/program/tensorrt-test/.cm/info.json deleted file mode 100644 index 68e57cb9..00000000 --- a/program/tensorrt-test/.cm/info.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "backup_data_uid": "5e23a492b9138354", - "backup_module_uid": "b0ac08fe1d3c2615", - "backup_module_uoa": "program", - "control": { - "author": "cTuning foundation", - "author_email": "admin@cTuning.org", - "author_webpage": "http://cTuning.org", - "copyright": "See CK COPYRIGHT.txt for copyright details", - "engine": "CK", - "iso_datetime": "2020-11-14T21:44:04.708952", - "license": "See CK LICENSE.txt for licensing details", - "version": [ - "1", - "17", - "0", - "1" - ] - }, - "data_name": "tensorrt-test" -} diff --git a/program/tensorrt-test/.cm/meta.json b/program/tensorrt-test/.cm/meta.json deleted file mode 100644 index 69af4a63..00000000 --- a/program/tensorrt-test/.cm/meta.json +++ /dev/null @@ -1,178 +0,0 @@ -{ - "backup_data_uid": "5e23a492b9138354", - "build_compiler_vars": { - "CK_TENSORRT_ENABLE_PROFILER": "1" - }, - "compile_deps": { - "compiler": { - "local": "yes", - "name": "C++ compiler", - "sort": 10, - "tags": "compiler,lang-cpp" - }, - "cuda-compiler": { - "local": "yes", - "name": "CUDA compiler", - "sort": 20, - "tags": "compiler,lang-c-cuda" - }, - "lib-jetson-inference": { - "local": "yes", - "name": "Jetson Inference library", - "sort": 30, - "tags": "lib,jetson-inference" - }, - "lib-tensorrt": { - "local": "yes", - "name": "TensorRT engine", - "sort": 25, - "tags": "lib,tensorrt" - } - }, - "compiler_add_include_as_env_from_deps": [ - "CK_ENV_LIB_STDCPP_INCLUDE", - "CK_ENV_LIB_STDCPP_INCLUDE_EXTRA", - "CK_ENV_LIB_JETSON_INFERENCE_INCLUDE", - "CK_ENV_COMPILER_CUDA_INCLUDE" - ], - "compiler_env": "CK_CXX", - "compiler_flags_as_env": "$<>$", - "data_name": "tensorrt-test", - "extra_ld_vars": "$<>$/libcudart.so", - "main_language": "cpp", - "print_files_after_run": [], - "process_in_tmp": "yes", - "program": "yes", - "run_cmds": { - "default": { - "dataset_tags": [ - "dataset", - "jpeg" - ], - "ignore_return_code": "no", - "run_time": { - "fine_grain_timer_file": "results.json", - "params": { - "caffemodel_key": "deploy", - "classification": "yes", - "debug": "yes" - }, - "post_process_cmds": [ - "python $#src_path_local#$postprocess.py" - ], - "post_process_via_ck": "yes", - "pre_process_via_ck": { - "data_uoa": "569404c41618603a", - "script_name": "preprocess" - }, - "run_cmd_main": "$#BIN_FILE#$ $#dataset_path#$$#dataset_filename#$", - "run_cmd_out1": "stdout.log", - "run_cmd_out2": "stderr.log", - "run_correctness_output_files": [], - "run_output_files": [ - "stdout.log", - "stderr.log", - "results.json" - ] - } - }, - "imagenet-val": { - "ignore_return_code": "no", - "run_time": { - "fine_grain_timer_file": "results.json", - "params": { - "caffemodel_key": "deploy", - "classification": "yes" - }, - "post_process_cmds": [ - "python $#src_path_local#$postprocess.py" - ], - "post_process_via_ck": "yes", - "pre_process_via_ck": { - "data_uoa": "569404c41618603a", - "script_name": "preprocess" - }, - "run_cmd_main": "$#BIN_FILE#$", - "run_cmd_out1": "stdout.log", - "run_cmd_out2": "stderr.log", - "run_correctness_output_files": [], - "run_output_files": [ - "stdout.log", - "stderr.log", - "results.json" - ] - } - }, - "imagenet-val-debug": { - "ignore_return_code": "no", - "run_time": { - "fine_grain_timer_file": "results.json", - "params": { - "caffemodel_key": "deploy", - "classification": "yes", - "debug": "yes" - }, - "post_process_cmds": [ - "python $#src_path_local#$postprocess.py" - ], - "post_process_via_ck": "yes", - "pre_process_via_ck": { - "data_uoa": "569404c41618603a", - "script_name": "preprocess" - }, - "run_cmd_main": "$#BIN_FILE#$", - "run_cmd_out1": "stdout.log", - "run_cmd_out2": "stderr.log", - "run_correctness_output_files": [], - "run_output_files": [ - "stdout.log", - "stderr.log", - "results.json" - ], - "run_set_env2": { - "CK_TENSORRT_MAX_NUM_IMAGES": "1000" - } - } - } - }, - "run_deps": { - "caffemodel": { - "force_target_as_host": "yes", - "local": "yes", - "name": "Caffe model (net and weights)", - "sort": 40, - "tags": "caffemodel" - }, - "dataset-imagenet-aux": { - "force_target_as_host": "yes", - "local": "yes", - "name": "ImageNet dataset (aux)", - "sort": 50, - "tags": "dataset,imagenet,aux" - }, - "dataset-imagenet-val": { - "force_target_as_host": "yes", - "local": "yes", - "name": "ImageNet dataset (val)", - "only_for_cmd": [ - "imagenet-val", - "imagenet-val-debug" - ], - "sort": 60, - "tags": "dataset,imagenet,val" - } - }, - "run_vars": { - "CK_TENSORRT_MAX_NUM_IMAGES": "10" - }, - "skip_bin_ext": "yes", - "source_files": [ - "tensorrt-test.cpp" - ], - "tags": [ - "tensorrt-test", - "demo" - ], - "target_file": "tensorrt-test", - "version": "1.0.0" -} diff --git a/program/tensorrt-test/postprocess.py b/program/tensorrt-test/postprocess.py deleted file mode 100644 index 069594ca..00000000 --- a/program/tensorrt-test/postprocess.py +++ /dev/null @@ -1,217 +0,0 @@ -# -# Convert raw output of the TensorRT tensorrt-test -# program to the CK format. -# -# Developers: -# - Anton Lokhmotov, dividiti, 2016 -# - -import json -import os -import re -import sys - -def ck_postprocess(i): - ck=i['ck_kernel'] - rt=i['run_time'] - env=i.get('env',{}) - deps=i.get('deps',{}) - - d={} - d['execution_time']=0.0 - d['debug']=rt['params'].get('debug','no') - - # Collect env vars of interest. - d['REAL_ENV_CK_CAFFE_MODEL']=env.get('CK_CAFFE_MODEL','') - - # Collect deps of interest. - imagenet_aux=deps.get('dataset-imagenet-aux',{}) - imagenet_aux_dict=imagenet_aux.get('dict',{}) - imagenet_aux_dict_env=imagenet_aux_dict.get('env',{}) - d['CK_CAFFE_IMAGENET_VAL_TXT']=imagenet_aux_dict_env.get('CK_CAFFE_IMAGENET_VAL_TXT','') - d['CK_CAFFE_IMAGENET_SYNSET_WORDS_TXT']=imagenet_aux_dict_env.get('CK_CAFFE_IMAGENET_SYNSET_WORDS_TXT','') - - # Only defined for the imagenet-val cmd. - imagenet_val=deps.get('dataset-imagenet-val',{}) - imagenet_val_dict=imagenet_val.get('dict',{}) - imagenet_val_dict_env=imagenet_val_dict.get('env',{}) - d['CK_ENV_DATASET_IMAGENET_VAL']=imagenet_val_dict_env.get('CK_ENV_DATASET_IMAGENET_VAL','') - - # For the imagenet-val command, load ImageNet validation set labels. - if d['CK_ENV_DATASET_IMAGENET_VAL']!='': - with open(d['CK_CAFFE_IMAGENET_VAL_TXT']) as imagenet_val_txt: - image_to_synset_map = {} - for image_synset in imagenet_val_txt: - (image, synset) = image_synset.split() - image_to_synset_map[image] = int(synset) - with open(d['CK_CAFFE_IMAGENET_SYNSET_WORDS_TXT']) as imagenet_synset_words_txt: - synset_list = [] - for n00000000_synset in imagenet_synset_words_txt: - synset = n00000000_synset[10:-1] - synset_list.append(synset) - top_n_list = [1,5] - for n in top_n_list: - top_n_accuracy = 'accuracy_top'+str(n) - d[top_n_accuracy] = 0 - - # Load tensorrt-test output as list. - r=ck.load_text_file({'text_file':'stdout.log', 'split_to_list':'yes'}) - if r['return']>0: return r - - # Collect info from tensorrt-test output per image: - # image properties, layer profiling, all predictions and the best one. - d['info_per_image'] = [] - for line in r['lst']: - # Match image properties info in e.g.: - # "loaded image /home/ilsvrc2012_val/ILSVRC2012_val_00012996.JPEG (375 x 500) 3000000 bytes" - image_properties_regex = \ - 'loaded image(\s)*' + \ - '(?P[\w\./_-]*)(\s)*' + \ - '\((?P\d+) x (?P\d+)\)(\s)*' + \ - '(?P\d+) bytes' - match = re.search(image_properties_regex, line) - if match: - info_per_image = {} - info_per_image['properties'] = {} - if d['debug']=='yes': - info_per_image['properties']['path'] = match.group('image_path') - info_per_image['properties']['width'] = match.group('image_width') - info_per_image['properties']['height'] = match.group('image_height') - info_per_image['properties']['size_bytes'] = match.group('image_size_bytes') - # Prepare to match layer profiling, all predictions and the best one. - info_per_image['all_predictions'] = [] - info_per_image['per_layer_info'] = [] - # Reset timer. NB: 'time_fw_ms' is the sum of all per layer timings. - time_fw_ms = 0.0 - # Reset layer index. - index = 0 - - # Match layer profiling info in e.g.: - # "[GIE] layer inception_3a/3x3_reduce + inception_3a/relu_3x3_reduce||inception_3a/5x5_reduce + inception_3a/relu_5x5_reduce - 1.747789 ms" - # "[GIE] layer network time - 45.530819 ms" - profiling_regex = \ - '\[GIE\] layer ' + \ - '(?P[\ \w_+/|]*)' + \ - ' - ' + \ - '(?P\d+\.\d+)(\s)*ms' - match = re.search(profiling_regex, line) - if match: - name = match.group('name') - time_ms = float(match.group('time_ms')) - if name=='network time': - # NB: Unlike 'time_fw_ms', 'time_total_ms' is parsed from TensorRT's output. - # They should obviously match (and normally do). - info_per_image['time_total_ms'] = time_ms - info_per_image['time_total_s'] = time_ms * 1e-3 - elif d['debug']=='yes': - time_fw_ms += time_ms - layer_info = {} - layer_info['name'] = name - layer_info['time_ms'] = time_ms - layer_info['index'] = index; index += 1 - # Update optional keys for compatibility with CK-Caffe. - layer_info['time_s'] = layer_info['time_ms'] * 1e-3 - layer_info['label'] = '%02d: %s' % (layer_info['index'], layer_info['name']) - layer_info['timestamp'] = '0101 00:00:00.000000' # FIXME: Add proper timestamp? - layer_info['direction'] = 'forward' - info_per_image['per_layer_info'].append(layer_info) - - # Match prediction info in e.g.: - # "class 0287 - 0.049164 (lynx, catamount)" - # "class 0673 - 1.000000 (mouse, computer mouse)" (yes, with GoogleNet!) - prediction_regex = \ - 'class(\s+)(?P\d{4})' + \ - '(\s+)-(\s+)' + \ - '(?P\d+.\d+)' + \ - '(\s+)' + \ - '\((?P[\w\s,]*)\)' - match = re.search(prediction_regex, line) - if match: - info = {} - info['class'] = int(match.group('class')) - info['probability'] = float(match.group('probability')) - if d['debug']=='yes': - info['synset'] = match.group('synset') - info_per_image['all_predictions'].append(info) - - # Match the most likely prediction in e.g.: - # ["tensorrt-test] '' -> 33.05664% class #331 (hare)" - - best_prediction_regex = \ - '\[tensorrt-test\](\s+)' + \ - '\'(?P[\w\./_-]*)\'' + \ - '(\s)*->(\s)*' + \ - '(?P\d+\.\d+)%' + \ - '(\s)*class(\s)*#(?P\d+)(\s*)' + \ - '\((?P[\w\s,\'\-]*)\)' - match = re.search(best_prediction_regex, line) - if match: - info = {} - file_path = match.group('file_path') - info['file_name'] = os.path.basename(file_path) - info['class'] = int(match.group('class')) - if d['debug']=='yes': - info['file_path'] = file_path - info['synset'] = match.group('synset') - info['probability'] = float(match.group('probability_pc'))*0.01 - info_per_image['best_prediction'] = info - info_per_image['all_predictions'] = sorted(info_per_image['all_predictions'], key=lambda k: k['probability'], reverse=True) - # For the imagenet-val command, set 'accuracy_top1' and 'accuracy_top5' to 'yes' or 'no'. - if d['CK_ENV_DATASET_IMAGENET_VAL']!='': - best_prediction = info_per_image['best_prediction'] - class_correct = image_to_synset_map.get(best_prediction['file_name'],-1) - for n in top_n_list: - top_n_accuracy = 'accuracy_top'+str(n) - top_n_predictions = info_per_image['all_predictions'][0:n] - best_prediction[top_n_accuracy] = 'no' - for prediction in top_n_predictions: - if prediction['class']==class_correct: - best_prediction[top_n_accuracy] = 'yes' - d[top_n_accuracy] += 1 - break - if d['debug']=='yes': - best_prediction['class_correct'] = class_correct - best_prediction['synset_correct'] = synset_list[best_prediction['class_correct']] - - # If we are here, it's the final match in per image info. - if d['debug']=='yes': - # Finalize the execution time info. - # Execution time (ms). - info_per_image['time_fw_ms'] = time_fw_ms - info_per_image['time_bw_ms'] = 0.0 - info_per_image['time_fwbw_ms'] = info_per_image['time_fw_ms'] + info_per_image['time_bw_ms'] - info_per_image['time_total_ms_kernel_0'] = info_per_image['time_total_ms'] - # Execution time (s). - info_per_image['time_fw_s'] = info_per_image['time_fw_ms'] * 1e-3 - info_per_image['time_bw_s'] = info_per_image['time_bw_ms'] * 1e-3 - info_per_image['time_fwbw_s'] = info_per_image['time_fwbw_ms'] * 1e-3 - info_per_image['time_total_s_kernel_0'] = info_per_image['time_total_ms_kernel_0'] * 1e-3 - else: - # Remove all predictions info. - info_per_image.pop('all_predictions', None) - - # Finalize the per image time info. - d['info_per_image'].append(info_per_image) - - # Built-in CK keys. - d['execution_time'] += info_per_image['time_total_s'] - d['post_processed'] = 'yes' - - rr={} - rr['return']=0 - if d.get('post_processed','')=='yes': - if d['CK_ENV_DATASET_IMAGENET_VAL']!='': - num_images = len(d['info_per_image']) - scaling = 1.0 / num_images - for n in top_n_list: - top_n_accuracy = 'accuracy_top'+str(n) - d[top_n_accuracy] *= scaling - r=ck.save_json_to_file({'json_file':'results.json', 'dict':d}) - if r['return']>0: return r - else: - rr['error']='failed to match best prediction in tensorrt-test output' - rr['return']=1 - - return rr - -# Do not add anything here! diff --git a/program/tensorrt-test/tensorrt-test.cpp b/program/tensorrt-test/tensorrt-test.cpp deleted file mode 100644 index ae319166..00000000 --- a/program/tensorrt-test/tensorrt-test.cpp +++ /dev/null @@ -1,216 +0,0 @@ -/* - * Loosely based on http://github.com/dusty-nv/jetson-inference - * - * Therefore, assuming: - * 2016 (c) NVIDIA - * 2017 (c) dividiti - */ - -#include "imageNet.h" - -#include "loadImage.h" -#include "cudaFont.h" - -#include - -#include - -#define DEFAULT_BATCH_SIZE 1 - -int classifyImageRGBA(imageNet* net, const char* imgPath) -{ - int exit_status = EXIT_SUCCESS; - - // Load image from disk. - float* imgCPU = NULL; - float* imgCUDA = NULL; - int imgWidth = 0; - int imgHeight = 0; - - if( !loadImageRGBA(imgPath, (float4**)&imgCPU, (float4**)&imgCUDA, &imgWidth, &imgHeight) ) - { - printf("[tensorrt-test] Failed to load image '%s'\n", imgPath); - exit_status = EXIT_FAILURE; - } - else - { - // Classify image. - float confidence = 0.0f; - const int imgClass = net->Classify(imgCUDA, imgWidth, imgHeight, &confidence); - - if( imgClass < 0 ) - { - printf("[tensorrt-test] Failed to classify '%s' (result=%i)\n", imgPath, imgClass); - exit_status = EXIT_FAILURE; - } - else - { - printf("[tensorrt-test] '%s' -> %2.5f%% class #%i (%s)\n", imgPath, confidence * 100.0f, imgClass, net->GetClassDesc(imgClass)); - } - CUDA(cudaFreeHost(imgCPU)); - } - - return exit_status; -} - - -// Main entry point. -int main( int argc, char** argv ) -{ - int exit_status = EXIT_SUCCESS; - - // Print environment variables set by CK. - printf("\n[tensorrt-test] CK settings detected:\n"); - - const char * caffe_model_var = "CK_CAFFE_MODEL"; - const char * caffe_model_val = getenv(caffe_model_var); - printf(" %s=\"%s\"\n", caffe_model_var, - caffe_model_val ? caffe_model_val : "?"); - - const char * caffe_weights_var = "CK_ENV_MODEL_CAFFE_WEIGHTS"; - const char * caffe_weights_val = getenv(caffe_weights_var); - printf(" %s=\"%s\"\n", caffe_weights_var, - caffe_weights_val ? caffe_weights_val : "?"); - - const char * imagenet_val_dir_var = "CK_ENV_DATASET_IMAGENET_VAL"; - const char * imagenet_val_dir_val = getenv(imagenet_val_dir_var); - printf(" %s=\"%s\"\n", imagenet_val_dir_var, - imagenet_val_dir_val ? imagenet_val_dir_val : "?"); - - const char * imagenet_mean_bin_var = "CK_CAFFE_IMAGENET_MEAN_BIN"; - const char * imagenet_mean_bin_val = getenv(imagenet_mean_bin_var); - printf(" %s=\"%s\"\n", imagenet_mean_bin_var, - imagenet_mean_bin_val ? imagenet_mean_bin_val : "?"); - - const char * imagenet_synset_words_txt_var = "CK_CAFFE_IMAGENET_SYNSET_WORDS_TXT"; - const char * imagenet_synset_words_txt_val = getenv(imagenet_synset_words_txt_var); - printf(" %s=\"%s\"\n", imagenet_synset_words_txt_var, - imagenet_synset_words_txt_val ? imagenet_synset_words_txt_val : "?"); - - const char * imagenet_val_txt_var = "CK_CAFFE_IMAGENET_VAL_TXT"; - const char * imagenet_val_txt_val = getenv(imagenet_val_txt_var); - printf(" %s=\"%s\"\n", imagenet_val_txt_var, - imagenet_val_txt_val ? imagenet_val_txt_val : "?"); - - const char * tensorrt_max_num_images_var = "CK_TENSORRT_MAX_NUM_IMAGES"; - const char * tensorrt_max_num_images_val = getenv(tensorrt_max_num_images_var); - printf(" %s=\"%s\"\n", tensorrt_max_num_images_var, - tensorrt_max_num_images_val ? tensorrt_max_num_images_val : "?"); - - const char * tensorrt_enable_fp16_var = "CK_TENSORRT_ENABLE_FP16"; - const char * tensorrt_enable_fp16_val = getenv(tensorrt_enable_fp16_var); - printf(" %s=\"%s\"\n", tensorrt_enable_fp16_var, - tensorrt_enable_fp16_val ? tensorrt_enable_fp16_val : "?"); - - // Print configuration variables inferred. - printf("\n[tensorrt-test] TensorRT settings inferred:\n"); - const size_t tensorrt_max_num_images = tensorrt_max_num_images_val ? atoi(tensorrt_max_num_images_val) : 50000; - printf(" TENSORRT_MAX_NUM_IMAGES=%ld\n", tensorrt_max_num_images); - - const bool tensorrt_enable_fp16 = tensorrt_enable_fp16_val ? (bool)atoi(tensorrt_enable_fp16_val) : true; - printf(" TENSORRT_ENABLE_FP16=%d\n", tensorrt_enable_fp16); - - // for classification default batch size is 1 - const uint32_t maxBatchSize = DEFAULT_BATCH_SIZE; - - // Print command line arguments. - printf("\n[tensorrt-test] Command line arguments (%i):", argc); - for( int i = 0; i < argc; ++i ) - printf("\n [%i] %s", i, argv[i]); - printf("\n"); - - // Clean possibly cached TensorRT model. - printf("\n[tensorrt-test] Cleaning TensorRT model cache..."); - { - const char* cache_ext = "tensorcache"; - char* cache_path = (char*) malloc(strlen(caffe_weights_val) + strlen(cache_ext) + 2); - sprintf(cache_path, "%s.%s", caffe_weights_val, cache_ext); - printf("\n[tensorrt-test] - file \'%s\' removed ", cache_path); - int status = remove(cache_path); - if (0 == status) - { - printf("successfully!\n"); - } - else - { - printf("unsuccessfully!\n"); - } - free(cache_path); - } - - printf("\n[tensorrt-test] Start imageNet::Create..."); - // Create an imageNet object. - imageNet* net = imageNet::Create( - caffe_model_val, - caffe_weights_val, - imagenet_mean_bin_val, - imagenet_synset_words_txt_val, - "data", "prob", - maxBatchSize - ); - -#if( 1 == CK_TENSORRT_ENABLE_PROFILER ) - net->EnableProfiler(); -#endif - - if( !net ) - { - printf("\n[tensorrt-test] Failed to create ImageNet classifier\n"); - return EXIT_FAILURE; - } - - // Classify a single image or all images in $CK_ENV_DATASET_IMAGENET_VAL. - if( argc == 2 ) - { - const char* imgPath = argv[1]; - exit_status = classifyImageRGBA(net, imgPath); - } - else if( argc == 1 ) - { - DIR* dir; - struct dirent* ent; - if( (dir = opendir(imagenet_val_dir_val)) ) - { - const char* sample_imagenet_val_file = "ILSVRC2012_val_00002212.JPEG"; // 00002212 with AlexNet: top1="no", top5="yes" - char* imagenet_val_path = (char*) malloc(strlen(imagenet_val_dir_val) + strlen(sample_imagenet_val_file) + 2); - size_t num_images = 0; - - printf("\n[tensorrt-test] Scanning directory: %s\n", imagenet_val_path); - while( (ent = readdir(dir)) && (num_images < tensorrt_max_num_images) ) - { - const char* imagenet_val_file = ent->d_name; - if( strlen(imagenet_val_file) < strlen(sample_imagenet_val_file) ) - { - // Skip '.' and '..'. - continue; - } - printf("\n[tensorrt-test] Classifying image #%ld out of %ld\n", num_images+1, tensorrt_max_num_images); - sprintf(imagenet_val_path, "%s/%s", imagenet_val_dir_val, imagenet_val_file); - exit_status = classifyImageRGBA(net, imagenet_val_path); - if (exit_status == EXIT_FAILURE) - { - return exit_status; - } - num_images++; - } - closedir(dir); - free(imagenet_val_path); - } - else - { - printf("\n[tensorrt-test] Failed to open directory \'%s\'\n", imagenet_val_dir_var); - exit_status = EXIT_FAILURE; - } - } - else - { - printf("\n[tensorrt-test] Usage: %s [path]", argv[0]); - printf(" (by default, all files in \'%s\' dir)\n", imagenet_val_dir_val); - exit_status = EXIT_FAILURE; - } - - printf("\n[tensorrt-test] Shutting down...\n"); - delete net; - - return exit_status; -} diff --git a/program/tensorrt-time/.cm/desc.json b/program/tensorrt-time/.cm/desc.json deleted file mode 100644 index 0967ef42..00000000 --- a/program/tensorrt-time/.cm/desc.json +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/program/tensorrt-time/.cm/info.json b/program/tensorrt-time/.cm/info.json deleted file mode 100644 index 65990834..00000000 --- a/program/tensorrt-time/.cm/info.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "backup_data_uid": "5d4e5a43da89baca", - "backup_module_uid": "b0ac08fe1d3c2615", - "backup_module_uoa": "program", - "control": { - "author": "cTuning foundation", - "author_email": "admin@cTuning.org", - "author_webpage": "http://cTuning.org", - "copyright": "See CK COPYRIGHT.txt for copyright details", - "engine": "CK", - "iso_datetime": "2020-11-14T21:44:04.724801", - "license": "See CK LICENSE.txt for licensing details", - "version": [ - "1", - "17", - "0", - "1" - ] - }, - "data_name": "tensorrt-time" -} diff --git a/program/tensorrt-time/.cm/meta.json b/program/tensorrt-time/.cm/meta.json deleted file mode 100644 index 4c7ca632..00000000 --- a/program/tensorrt-time/.cm/meta.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "backup_data_uid": "5d4e5a43da89baca", - "build_compiler_vars": { - "CK_TENSORRT_ENABLE_CJSON": 1, - "CK_TENSORRT_ENABLE_XOPENME": 0 - }, - "compile_deps": { - "compiler": { - "local": "yes", - "name": "C++ compiler", - "sort": 10, - "tags": "compiler,lang-cpp" - }, - "cuda-compiler": { - "local": "yes", - "name": "CUDA compiler", - "sort": 20, - "tags": "compiler,lang-c-cuda" - }, - "lib-cjson": { - "local": "yes", - "name": "cJSON library", - "sort": 30, - "tags": "lib,cjson" - }, - "lib-jetson-inference-dusty-nv-master-cuda": { - "local": "yes", - "name": "Jetson Inference lib", - "sort": 25, - "tags": "lib,jetson-inference" - }, - "lib-tensorrt": { - "local": "yes", - "name": "TensorRT engine", - "sort": 25, - "tags": "lib,tensorrt" - }, - "lib-xopenme": { - "local": "yes", - "name": "xOpenME library", - "sort": 40, - "tags": "lib,xopenme" - } - }, - "compiler_add_include_as_env_from_deps": [ - "CK_ENV_LIB_STDCPP_INCLUDE", - "CK_ENV_LIB_STDCPP_INCLUDE_EXTRA", - "CK_ENV_LIB_JETSON_INFERENCE_INCLUDE", - "CK_ENV_LIB_TENSORRT_INCLUDE", - "CK_ENV_LIB_TENSORRT_INCLUDE2", - "CK_ENV_COMPILER_CUDA_INCLUDE" - ], - "compiler_env": "CK_CXX", - "compiler_flags_as_env": "$<>$", - "data_name": "tensorrt-time", - "extra_ld_vars": "$<>$/libcudart.so -lnvinfer -lnvcaffe_parser", - "main_language": "cpp", - "print_files_after_run": [], - "process_in_tmp": "yes", - "program": "yes", - "run_cmds": { - "default": { - "ignore_return_code": "no", - "run_time": { - "fine_grain_timer_file": "results.json", - "params": { - "caffemodel_key": "deploy" - }, - "post_process_cmds": [ - "python $#src_path_local#$postprocess.py" - ], - "post_process_via_ck": "yes", - "pre_process_via_ck": { - "data_uoa": "569404c41618603a", - "script_name": "preprocess" - }, - "run_cmd_main": "$#BIN_FILE#$", - "run_cmd_out1": "stdout.log", - "run_cmd_out2": "stderr.log", - "run_correctness_output_files": [], - "run_output_files": [ - "results.json" - ] - } - } - }, - "run_deps": { - "caffemodel": { - "force_target_as_host": "yes", - "local": "yes", - "name": "Caffe model (net and weights)", - "sort": 40, - "tags": "caffemodel" - } - }, - "run_vars": { - "CK_CAFFE_BATCH_SIZE": 2, - "CK_TENSORRT_CJSON_PATH": "profiler.json" - }, - "skip_bin_ext": "yes", - "source_files": [ - "tensorrt-time.cpp" - ], - "tags": [ - "tensorrt-time", - "demo" - ], - "target_file": "tensorrt-time", - "version": "1.0.0" -} diff --git a/program/tensorrt-time/postprocess.py b/program/tensorrt-time/postprocess.py deleted file mode 100644 index c171a33e..00000000 --- a/program/tensorrt-time/postprocess.py +++ /dev/null @@ -1,75 +0,0 @@ -# -# Convert raw output of the tensorrt-time -# program to the CK format. -# -# Developers: -# - Anton Lokhmotov, dividiti, 2016 -# - -import json -import os -import re -import sys - -def ck_postprocess(i): - ck=i['ck_kernel'] - rt=i['run_time'] - env=i.get('env',{}) - deps=i.get('deps',{}) - - d={} - - # Collect env vars of interest. - d['REAL_ENV_CK_CAFFE_MODEL']=env.get('CK_CAFFE_MODEL','') - - # Load tensorrt-time profiling output. - # TODO: Read from program meta run_vars['CK_TENSORRT_CJSON_PATH']. - r=ck.load_json_file({'json_file':'profiler.json'}) - if r['return']>0: return r - - # Update layer info similarly to Caffe output. - d['per_layer_info'] = r['dict']['per_layer_info'] - time_fw_ms = 0.0 - for layer_info in d['per_layer_info']: - time_fw_ms += layer_info['time_ms'] - # Update optional keys for compatibility with CK-Caffe. - layer_info['time_s'] = layer_info['time_ms'] * 1e-3 - layer_info['label'] = '%02d: %s' % (layer_info['index'], layer_info['name']) - layer_info['timestamp'] = '0101 00:00:00.000000' # FIXME: Add proper timestamp. - layer_info['direction'] = 'forward' - - # Execution time (ms). - d['time_fw_ms'] = time_fw_ms - d['time_bw_ms'] = 0.0 - d['time_fwbw_ms'] = d['time_fw_ms'] + d['time_bw_ms'] - d['time_total_ms'] = d['time_fwbw_ms'] - d['time_total_ms_kernel_0'] = d['time_total_ms'] - # Execution time (s). - d['time_fw_s'] = d['time_fw_ms'] * 1e-3 - d['time_bw_s'] = d['time_bw_ms'] * 1e-3 - d['time_fwbw_s'] = d['time_fwbw_ms'] * 1e-3 - d['time_total_s'] = d['time_total_ms'] * 1e-3 - d['time_total_s_kernel_0'] = d['time_total_ms_kernel_0'] * 1e-3 - - # FIXME: Add memory consumption. - memory_bytes = 0 - d['memory_bytes'] = memory_bytes - d['memory_kbytes'] = memory_bytes * 1e-3 - d['memory_mbytes'] = memory_bytes * 1e-6 - - # Built-in CK keys. - d['execution_time'] = d['time_total_s'] - d['post_processed'] = 'yes' - - rr={} - rr['return']=0 - if d.get('post_processed','')=='yes': - r=ck.save_json_to_file({'json_file':'results.json', 'dict':d}) - if r['return']>0: return r - else: - rr['error']='failed to match best prediction in tensorrt-time output!' - rr['return']=1 - - return rr - -# Do not add anything here! diff --git a/program/tensorrt-time/tensorrt-time.cpp b/program/tensorrt-time/tensorrt-time.cpp deleted file mode 100644 index b6acb711..00000000 --- a/program/tensorrt-time/tensorrt-time.cpp +++ /dev/null @@ -1,513 +0,0 @@ -/* - * Loosely based on an TensorRT 1.0 (GIE) - * sample provided by NVIDIA on Tegra: - * /usr/src/gie_samples/samples/sampleGoogleNet - * - * Therefore, assuming: - * 2016 (c) NVIDIA - * 2017 (c) dividiti - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "tensorNet.h" - - -#if (1 == CK_TENSORRT_ENABLE_CJSON) -#include -#endif - -#if (1 == CK_TENSORRT_ENABLE_XOPENME) -#include -#endif - -#include "NvInfer.h" -#include "NvCaffeParser.h" - - -using namespace nvinfer1; -using namespace nvcaffeparser1; - - -#define CHECK(status) \ -{ \ - if (status != 0) \ - { \ - std::cout << "CUDA failure: " << status; \ - abort(); \ - } \ -} - - -// Custom logger for TensorRT info/warning/errors. -class Logger : public ILogger -{ -private: - std::ofstream info_log; - -public: - Logger(const char * path) - { - info_log.open(path); - } - - ~Logger() - { - info_log << std::endl; - info_log.close(); - } - - void log(Severity severity, const char* msg) override - { - info_log << msg << std::endl; - if (severity != Severity::kINFO) - { - std::cout << msg << std::endl; - } - } -}; - - -// Custom profiler for TensorRT layers. -class Profiler : public IProfiler -{ -private: - const char * cjson_path; - unsigned int layer_index; - float total_time_ms; -#if (1 == CK_TENSORRT_ENABLE_CJSON) - cJSON * dict; - cJSON * per_layer_info; -#endif - -public: - Profiler(const char * path) : - cjson_path(path), - layer_index(0), - total_time_ms(0.0f) - { -#if (1 == CK_TENSORRT_ENABLE_CJSON) - // Create main dictionary. - dict = cJSON_CreateObject(); - // Create per layer info list. - per_layer_info = cJSON_CreateArray(); - cJSON_AddItemToObject(dict, "per_layer_info", per_layer_info); -#endif - } - - ~Profiler() - { - std::cout << "\n[tensorrt-time] Total time: " << total_time_ms << " (ms)\n"; -#if (1 == CK_TENSORRT_ENABLE_CJSON) - const char * dict_serialized = cJSON_Print(dict); - if (cjson_path) - { - // Save to file (automatically opened and closed). - std::ofstream cjson_file(cjson_path); - cjson_file << dict_serialized; - } - else - { - // Print to stderr. - std::cerr << dict_serialized; - } - // Deallocate dict. - cJSON_Delete(dict); -#endif - } - - virtual void reportLayerTime(const char* layer_name, float layer_ms) - { - this->total_time_ms += layer_ms; - const unsigned int layer_index = this->layer_index++; - std::cout << "[tensorrt-time]"; - std::cout << " index: " << layer_index; - std::cout << "; name: " << layer_name; - std::cout << "; time: " << layer_ms << " (ms)\n"; -#if (1 == CK_TENSORRT_ENABLE_CJSON) - cJSON * new_layer_info = cJSON_CreateObject(); - cJSON * name = cJSON_CreateString(layer_name); - cJSON * index = cJSON_CreateNumber(layer_index); - cJSON * time_ms = cJSON_CreateNumber(layer_ms); - cJSON_AddItemToObject(new_layer_info, "name", name); - cJSON_AddItemToObject(new_layer_info, "index", index); - cJSON_AddItemToObject(new_layer_info, "time_ms", time_ms); - cJSON_AddItemToArray(per_layer_info, new_layer_info); -#endif - } - -}; - - -void convertCaffeToTensorRT( - const char * deploy_file, // path to deploy.prototxt file - const char * weights_file, // path to caffemodel file - const std::vector& outputs, // network outputs - size_t max_batch_size, // batch size - NB must be at least as large as the batch we want to run with - bool enable_fp_16, // if true and natively supported, use 16-bit floating-point - std::ostream& output_stream, // where to serialize the converted model - Logger& logger // custom logger -){ - // Create API root class - must span the lifetime of the engine usage. - IBuilder* builder = createInferBuilder(logger); - if (!builder) - { - std::cout << "\n[tensorrt-time] Failed to create inference builder (API root class)!\n"; - exit(EXIT_FAILURE); - } - - builder->setMaxWorkspaceSize(20 << 20); - // Create network definition. - INetworkDefinition* network = builder->createNetwork(); - if (!network) - { - std::cout << "\n[tensorrt-time] Failed to create network definition!\n"; - exit(EXIT_FAILURE); - } - - // Parse the Caffe model to populate the network, then set the outputs. - ICaffeParser* parser = createCaffeParser(); - if (!parser) - { - std::cout << "\n[tensorrt-time] Failed to create Caffe parser!\n"; - exit(EXIT_FAILURE); - } - - // Check whether 16-bit floating-point is natively supported. - const bool has_fp_16 = builder->platformHasFastFp16(); - // Create a 16-bit model if supported and enabled. - const bool use_fp_16 = has_fp_16 && enable_fp_16; - DataType data_type = use_fp_16 ? DataType::kHALF : DataType::kFLOAT; - - // The third parameter is the network definition that the parser will populate. - const IBlobNameToTensor *blobNameToTensor = - parser->parse(deploy_file, weights_file, *network, data_type); - if (!blobNameToTensor) - { - std::cout << "\n[tensorrt-time] Failed to parse Caffe model!\n"; - exit(EXIT_FAILURE); - } - - // As the Caffe model has no notion of outputs, we need to specify - // explicitly which tensors the engine should generate. - for (auto& output : outputs) - { - const char * output_name = output.c_str(); - ITensor* tensor = blobNameToTensor->find(output_name); - if (!tensor) - { - std::cerr << "\n[tensorrt-time] Failed to retrieve tensor for output \'" << output_name << "\'!\n"; - exit(EXIT_FAILURE); - } - network->markOutput(*tensor); - } - - // Build the engine. - builder->setMaxBatchSize(max_batch_size); - - // Set up the network for paired-fp16 format if supported and enabled. - builder->setHalf2Mode(use_fp_16); - - ICudaEngine* engine = builder->buildCudaEngine(*network); - if (!engine) - { - std::cerr << "\n[tensorrt-time] Failed to build CUDA engine!\n"; - exit(EXIT_FAILURE); - } - - // We no longer need the network, nor do we need the parser. - network->destroy(); - parser->destroy(); - - // Serialize the engine, then shut everything down. -#if NV_TENSORRT_MAJOR > 1 - nvinfer1::IHostMemory* serMem = engine->serialize(); - if( !serMem ) - { - std::cerr << "\n[tensorrt-time] failed to serialize CUDA engine!\n"; - exit(EXIT_FAILURE); - } - output_stream.write((const char*)serMem->data(), serMem->size()); -#else - engine->serialize(output_stream); -#endif - - engine->destroy(); - builder->destroy(); - shutdownProtobufLibrary(); -} - -void timeInference( - ICudaEngine* engine, - const size_t tensorrt_batch_size, - const char * tensorrt_input_blob_name, - const char * tensorrt_output_blob_name, - Profiler& profiler -){ - // Input and output buffer pointers that we pass to the engine - the engine requires exactly ICudaEngine::getNbBindings(), - // of these, but in this case we know that there is exactly one input and one output. - // FIXME: "we know .. exactly one input and one output" - for GoogleNet, AlexNet? - assert(engine->getNbBindings() == 2); - void* buffers[2]; - - // In order to bind the buffers, we need to know the names of the input and output tensors. - // Note that indices are guaranteed to be less than ICudaEngine::getNbBindings(). - const int inputIndex = engine->getBindingIndex(tensorrt_input_blob_name); - const int outputIndex = engine->getBindingIndex(tensorrt_output_blob_name); - - // Allocate GPU buffers. - auto inputDims = engine->getBindingDimensions(inputIndex); - auto outputDims = engine->getBindingDimensions(outputIndex); - const size_t inputSize = tensorrt_batch_size * DIMS_C(inputDims) * DIMS_H(inputDims) * DIMS_W(inputDims) * sizeof(float); - const size_t outputSize = tensorrt_batch_size * DIMS_C(outputDims) * DIMS_H(outputDims) * DIMS_W(outputDims) * sizeof(float); - - CHECK(cudaMalloc(&buffers[inputIndex], inputSize)); - CHECK(cudaMalloc(&buffers[outputIndex], outputSize)); - - IExecutionContext* context = engine->createExecutionContext(); - if (!context) - { - std::cerr << "\n[tensorrt-time] Failed to create execution context!\n"; - exit(EXIT_FAILURE); - } - - // Set the custom profiler. - context->setProfiler(&profiler); - - // Zero the input buffer. - CHECK(cudaMemset(buffers[inputIndex], 0, inputSize)); - -#if (1 == CK_TENSORRT_ENABLE_XOPENME) - xopenme_clock_start(0); -#endif - - context->execute(tensorrt_batch_size, buffers); - -#if (1 == CK_TENSORRT_ENABLE_XOPENME) - xopenme_clock_end(0); -#endif - - // Release the context and buffers. - context->destroy(); - CHECK(cudaFree(buffers[inputIndex])); - CHECK(cudaFree(buffers[outputIndex])); -} - - -int main(int argc, char** argv) -{ - int exit_status = EXIT_SUCCESS; - -#if (1 == CK_TENSORRT_ENABLE_XOPENME) - xopenme_init(1, 0); -#endif - - // Print environment variables set by CK. - printf("\n[tensorrt-time] CK settings detected:\n"); - - const char * caffe_model_var = "CK_CAFFE_MODEL"; - const char * caffe_model_val = getenv(caffe_model_var); - printf(" %s=\"%s\"\n", caffe_model_var, - caffe_model_val ? caffe_model_val : "?"); - - const char * caffe_weights_var = "CK_ENV_MODEL_CAFFE_WEIGHTS"; - const char * caffe_weights_val = getenv(caffe_weights_var); - printf(" %s=\"%s\"\n", caffe_weights_var, - caffe_weights_val ? caffe_weights_val : "?"); - - // TODO (elsewhere): Augment the Caffe model packages with the input and output blob names. - const char * caffe_model_input_blob_name_var = "CK_CAFFE_MODEL_INPUT_BLOB_NAME"; - const char * caffe_model_input_blob_name_val = getenv(caffe_model_input_blob_name_var); - printf(" %s=\"%s\"\n", caffe_model_input_blob_name_var, - caffe_model_input_blob_name_val ? caffe_model_input_blob_name_val : "?"); - - const char * caffe_model_output_blob_name_var = "CK_CAFFE_MODEL_OUTPUT_BLOB_NAME"; - const char * caffe_model_output_blob_name_val = getenv(caffe_model_output_blob_name_var); - printf(" %s=\"%s\"\n", caffe_model_output_blob_name_var, - caffe_model_output_blob_name_val ? caffe_model_output_blob_name_val : "?"); - - const char * caffe_batch_size_var = "CK_CAFFE_BATCH_SIZE"; - const char * caffe_batch_size_val = getenv(caffe_batch_size_var); - printf(" %s=\"%s\"\n", caffe_batch_size_var, - caffe_batch_size_val ? caffe_batch_size_val : "?"); - - const char * tensorrt_enable_fp16_var = "CK_TENSORRT_ENABLE_FP16"; - const char * tensorrt_enable_fp16_val = getenv(tensorrt_enable_fp16_var); - printf(" %s=\"%s\"\n", tensorrt_enable_fp16_var, - tensorrt_enable_fp16_val ? tensorrt_enable_fp16_val : "?"); - - const char * tensorrt_enable_cache_var = "CK_TENSORRT_ENABLE_CACHE"; - const char * tensorrt_enable_cache_val = getenv(tensorrt_enable_cache_var); - printf(" %s=\"%s\"\n", tensorrt_enable_cache_var, - tensorrt_enable_cache_val ? tensorrt_enable_cache_val : "?"); - - const char * tensorrt_cjson_path_var = "CK_TENSORRT_CJSON_PATH"; - const char * tensorrt_cjson_path_val = getenv(tensorrt_cjson_path_var); - printf(" %s=\"%s\"\n", tensorrt_cjson_path_var, - tensorrt_cjson_path_val ? tensorrt_cjson_path_val : "?"); - Profiler profiler(tensorrt_cjson_path_val); - - const char * tensorrt_info_log_var = "CK_TENSORRT_INFO_LOG"; - const char * tensorrt_info_log_val = getenv(tensorrt_info_log_var); - printf(" %s=\"%s\"\n", tensorrt_info_log_var, - tensorrt_info_log_val ? tensorrt_info_log_val : "?"); - Logger logger(tensorrt_info_log_val); - - // Print configuration variables inferred. - printf("\n[tensorrt-time] TensorRT settings inferred:\n"); - const char * tensorrt_input_blob_name = caffe_model_input_blob_name_val ? caffe_model_input_blob_name_val : "data"; - printf(" TENSORRT_INPUT_BLOB_NAME=\"%s\"\n", tensorrt_input_blob_name); - - const char * tensorrt_output_blob_name = caffe_model_output_blob_name_val ? caffe_model_output_blob_name_val : "prob"; - printf(" TENSORRT_OUTPUT_BLOB_NAME=\"%s\"\n", tensorrt_output_blob_name); - - const size_t tensorrt_batch_size = caffe_batch_size_val ? atoi(caffe_batch_size_val) : 1; - printf(" TENSORRT_BATCH_SIZE=%ld\n", tensorrt_batch_size); - - const bool tensorrt_enable_fp16 = tensorrt_enable_fp16_val ? (bool)atoi(tensorrt_enable_fp16_val) : true; - printf(" TENSORRT_ENABLE_FP16=%d\n", tensorrt_enable_fp16); - - const bool tensorrt_enable_cache = tensorrt_enable_cache_val ? (bool)atoi(tensorrt_enable_cache_val) : true; - printf(" TENSORRT_ENABLE_CACHE=%d\n", tensorrt_enable_cache); - - // Print the basic engine info. - std::cout << "\n[tensorrt-time] Starting a TensorRT engine:"; - std::cout << "\n- for the Caffe model at \'" << caffe_weights_val << "\'"; - std::cout << "\n- with the batch size of " << tensorrt_batch_size; - std::cout << "\n- with 16-bit floating point " << (tensorrt_enable_fp16 ? "enabled" : "disabled"); - std::cout << "\n- with model caching " << (tensorrt_enable_cache ? "enabled" : "disabled"); - std::cout << std::endl; - - // Parse the Caffe model or load from a cache. - std::stringstream tensorrt_model_stream; - tensorrt_model_stream.seekg(0, tensorrt_model_stream.beg); - if (!tensorrt_enable_cache) - { - std::cout << "\n[tensorrt-time] Converting the Caffe model into a TensorRT one...\n"; - std::vector tensorrt_model_outputs({tensorrt_output_blob_name}); - convertCaffeToTensorRT(caffe_model_val, caffe_weights_val, - tensorrt_model_outputs, tensorrt_batch_size, tensorrt_enable_fp16, tensorrt_model_stream, - logger); - } - else - { - // Look up using the following "cache tag": - // ".tensorrt-.fp.bs". - const int version = getInferLibVersion(); -#if NV_TENSORRT_MAJOR > 1 - const int version_major = version / 1000; - const int version_minor = (version - version_major * 1000) / 100; - const int version_patch = version - version_major * 1000 - version_minor * 100; -#else /* NV_TENSORRT_MAJOR == 1 */ - const int version_major = version >> 16; - const int version_minor = (version & ((1<<16)-1)) >> 8; - const int version_patch = (version & ((1<<8)-1)); -#endif /* NV_TENSORRT_MAJOR */ - std::cout << "\n[tensorrt-time] getInferLibVersion(): " << version; - std::cout << "\n[tensorrt-time] TensorRT version: " << version_major << "." << version_minor << "." << version_patch << "\n"; - - std::stringstream tensorrt_model_cache_ss; - tensorrt_model_cache_ss << caffe_weights_val; - tensorrt_model_cache_ss << ".tensorrt-" << version_major << "." << version_minor << "." << version_patch; - tensorrt_model_cache_ss << ".fp" << (tensorrt_enable_fp16 ? "16" : "32"); -#if NV_TENSORRT_MAJOR < 3 - tensorrt_model_cache_ss << ".bs" << tensorrt_batch_size; -#endif - // Try to load the file. - const std::string tensorrt_model_cache_path(tensorrt_model_cache_ss.str()); - std::cout << "\n[tensorrt-time] Checking if cached at \'" << tensorrt_model_cache_path << "\'..."; - std::ifstream tensorrt_model_cache_load(tensorrt_model_cache_path); - if (tensorrt_model_cache_load) - { - std::cout << "\n[tensorrt-time] - cached TensorRT model found, loading..."; - tensorrt_model_stream << tensorrt_model_cache_load.rdbuf(); - tensorrt_model_cache_load.close(); - std::cout << "\n[tensorrt-time] - cached TensorRT model loaded."; - } - else - { - std::cout << "\n[tensorrt-time] - cached TensorRT model not found, converting..."; - std::vector tensorrt_model_outputs({tensorrt_output_blob_name}); - convertCaffeToTensorRT(caffe_model_val, caffe_weights_val, - tensorrt_model_outputs, tensorrt_batch_size, tensorrt_enable_fp16, tensorrt_model_stream, - logger); - std::cout << "\n[tensorrt-time] - caching TensorRT model..."; - std::ofstream tensorrt_model_cache_store(tensorrt_model_cache_path); - - if (! tensorrt_model_cache_store) { - std::cerr << "\n[tensorrt-time] Failed to cache TensorRT model!\n"; - exit(EXIT_FAILURE); - } - - tensorrt_model_cache_store << tensorrt_model_stream.rdbuf(); - tensorrt_model_cache_store.close(); - std::cout << "\n[tensorrt-time] - TensorRT model cached."; - } - tensorrt_model_stream.seekg(0, tensorrt_model_stream.beg); - } - - // Create inference runtime engine. - IRuntime* runtime = createInferRuntime(logger); - if (!runtime) - { - std::cerr << "\n[tensorrt-time] Failed to create inference runtime!\n"; - exit(EXIT_FAILURE); - } - -#if NV_TENSORRT_MAJOR > 1 - std::cout << "\n[tensorrt-time] Running with NV_TENSORRT_MAJOR > 1\n"; - // support for stringstream deserialization was deprecated in TensorRT v2 - // instead, read the stringstream into a memory buffer and pass that to TRT. - tensorrt_model_stream.seekg(0, std::ios::end); - const int modelSize = tensorrt_model_stream.tellg(); - tensorrt_model_stream.seekg(0, std::ios::beg); - - void* modelMem = malloc(modelSize); - if( !modelMem ) - { - std::cerr << "\n[tensorrt-time] Failed to allocate memory to deserialize model!\n"; - exit(EXIT_FAILURE); - } - - tensorrt_model_stream.read((char*)modelMem, modelSize); - nvinfer1::ICudaEngine* engine = runtime->deserializeCudaEngine(modelMem, modelSize, NULL); - free(modelMem); -#else - std::cout << "\n[tensorrt-time] Running with NV_TENSORRT_MAJOR == 1\n"; - - // TensorRT v1 can deserialize directly from stringstream - nvinfer1::ICudaEngine* engine = runtime->deserializeCudaEngine(tensorrt_model_stream); -#endif - - if (!engine) - { - std::cerr << "\n[tensorrt-time] Failed to deserialize CUDA engine!\n"; - exit(EXIT_FAILURE); - } - - // Run inference with zero data to measure performance. - std::cout << "\n[tensorrt-time] Running inference...\n"; - timeInference(engine, - tensorrt_batch_size, tensorrt_input_blob_name, tensorrt_output_blob_name, - profiler); - - std::cout << "\n[tensorrt-time] Shutting down...\n"; - engine->destroy(); - runtime->destroy(); - -#if (1 == CK_TENSORRT_ENABLE_XOPENME) - xopenme_dump_state(); - xopenme_finish(); -#endif - - return exit_status; -} diff --git a/program/test-armcl-opencl-arm32/process.py b/program/test-armcl-opencl-arm32/process.py index b5b6bbc8..3820b4a5 100644 --- a/program/test-armcl-opencl-arm32/process.py +++ b/program/test-armcl-opencl-arm32/process.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw output of an armcl to the CK format. # diff --git a/program/test-boost/test_boost.cpp b/program/test-boost/test_boost.cpp index aa7d7d70..ae046b32 100644 --- a/program/test-boost/test_boost.cpp +++ b/program/test-boost/test_boost.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2017 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ // This is a test for Boost compiled under CK: diff --git a/program/tflite-classification/preprocess.py b/program/tflite-classification/preprocess.py index 596946ce..f1e781e3 100644 --- a/program/tflite-classification/preprocess.py +++ b/program/tflite-classification/preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/tool-autoformat-code/format.py b/program/tool-autoformat-code/format.py index c92eda01..39b50c35 100644 --- a/program/tool-autoformat-code/format.py +++ b/program/tool-autoformat-code/format.py @@ -3,8 +3,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/tool-autoformat-code/preprocess.py b/program/tool-autoformat-code/preprocess.py index e1c63f84..67d00466 100644 --- a/program/tool-autoformat-code/preprocess.py +++ b/program/tool-autoformat-code/preprocess.py @@ -3,8 +3,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # diff --git a/program/tool-prepare-dataset/prepare.py b/program/tool-prepare-dataset/prepare.py index 5a6cfdd8..bda4fc93 100755 --- a/program/tool-prepare-dataset/prepare.py +++ b/program/tool-prepare-dataset/prepare.py @@ -3,8 +3,8 @@ # Copyright (c) 2017-2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Reads shape data from CSV file and creates a list of respective dataset files # diff --git a/program/tool-prepare-dataset/preprocess.py b/program/tool-prepare-dataset/preprocess.py index f9b4ad1e..eda3b26b 100644 --- a/program/tool-prepare-dataset/preprocess.py +++ b/program/tool-prepare-dataset/preprocess.py @@ -4,8 +4,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/program/winogradconv-armcl-opencl/winogradconv.cpp b/program/winogradconv-armcl-opencl/winogradconv.cpp index 49b59fdf..f99abe10 100644 --- a/program/winogradconv-armcl-opencl/winogradconv.cpp +++ b/program/winogradconv-armcl-opencl/winogradconv.cpp @@ -2,8 +2,8 @@ * Copyright (c) 2018 cTuning foundation. * See CK COPYRIGHT.txt for copyright details. * - * SPDX-License-Identifier: BSD-3-Clause. - * See CK LICENSE.txt for licensing details. + * See CK LICENSE for licensing details. + * See CK COPYRIGHT for copyright details. */ #include diff --git a/script/cached-benchmark/postprocess.py b/script/cached-benchmark/postprocess.py index d4b9f868..c097a7e7 100644 --- a/script/cached-benchmark/postprocess.py +++ b/script/cached-benchmark/postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/cached-benchmark/preprocess.py b/script/cached-benchmark/preprocess.py index fd683c04..fc54556d 100644 --- a/script/cached-benchmark/preprocess.py +++ b/script/cached-benchmark/preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import imp diff --git a/script/compile-preprocess-armcl/compile-preprocess.py b/script/compile-preprocess-armcl/compile-preprocess.py index f50a5ee2..28cd5cee 100644 --- a/script/compile-preprocess-armcl/compile-preprocess.py +++ b/script/compile-preprocess-armcl/compile-preprocess.py @@ -3,8 +3,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/ctuning.process.dvdt-prof/dvdt_prof.py b/script/ctuning.process.dvdt-prof/dvdt_prof.py index 7fe11a01..e4d7399c 100644 --- a/script/ctuning.process.dvdt-prof/dvdt_prof.py +++ b/script/ctuning.process.dvdt-prof/dvdt_prof.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw dvdt prof output to the CK format. # diff --git a/script/image-classification/loadgen_postprocess.py b/script/image-classification/loadgen_postprocess.py index 474559a9..89e6dfed 100644 --- a/script/image-classification/loadgen_postprocess.py +++ b/script/image-classification/loadgen_postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2019 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/image-classification/loadgen_preprocess.py b/script/image-classification/loadgen_preprocess.py index 2fccc13a..6a169de4 100644 --- a/script/image-classification/loadgen_preprocess.py +++ b/script/image-classification/loadgen_preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/image-classification/postprocess.py b/script/image-classification/postprocess.py index 68c20185..bb4a704b 100644 --- a/script/image-classification/postprocess.py +++ b/script/image-classification/postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/image-classification/preprocess.py b/script/image-classification/preprocess.py index c41e732c..f8fed0b9 100644 --- a/script/image-classification/preprocess.py +++ b/script/image-classification/preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import sys diff --git a/script/image-classification/schindler.py b/script/image-classification/schindler.py index af310834..0aea4361 100644 --- a/script/image-classification/schindler.py +++ b/script/image-classification/schindler.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/install-lib-mace-src/install.sh b/script/install-lib-mace-src/install.sh index faf39443..55bdfe75 100644 --- a/script/install-lib-mace-src/install.sh +++ b/script/install-lib-mace-src/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Installation script for the XiaoMi MICE library. # diff --git a/script/install-package-tensorflowmodel-efficientnet-lite/install.sh b/script/install-package-tensorflowmodel-efficientnet-lite/install.sh index 30d9ff50..5aecc93d 100644 --- a/script/install-package-tensorflowmodel-efficientnet-lite/install.sh +++ b/script/install-package-tensorflowmodel-efficientnet-lite/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2018-2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # EfficientNet-Lite for TensorFlow # Python model and weights install script diff --git a/script/install-package-tensorflowmodel-mobilenet-py/install.bat b/script/install-package-tensorflowmodel-mobilenet-py/install.bat index fa9ac576..3bfc33dc 100644 --- a/script/install-package-tensorflowmodel-mobilenet-py/install.bat +++ b/script/install-package-tensorflowmodel-mobilenet-py/install.bat @@ -4,8 +4,8 @@ rem rem Copyright (c) 2018 cTuning foundation. rem See CK COPYRIGHT.txt for copyright details. rem -rem SPDX-License-Identifier: BSD-3-Clause. -rem See CK LICENSE.txt for licensing details. +rem See CK LICENSE for licensing details. +rem See CK COPYRIGHT for copyright details. rem rem MobileNet for TensorFlow rem Python model and weights install script diff --git a/script/install-package-tensorflowmodel-mobilenet-py/install.sh b/script/install-package-tensorflowmodel-mobilenet-py/install.sh index 1afaeea4..b69e94ac 100644 --- a/script/install-package-tensorflowmodel-mobilenet-py/install.sh +++ b/script/install-package-tensorflowmodel-mobilenet-py/install.sh @@ -4,8 +4,8 @@ # Copyright (c) 2018-2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # MobileNet for TensorFlow # Python model and weights install script diff --git a/script/install-package-tensorflowmodel-mobilenet-py/mobilenet-model.py b/script/install-package-tensorflowmodel-mobilenet-py/mobilenet-model.py index be25766c..60b4f43f 100644 --- a/script/install-package-tensorflowmodel-mobilenet-py/mobilenet-model.py +++ b/script/install-package-tensorflowmodel-mobilenet-py/mobilenet-model.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # # MobileNets for TensorFlow diff --git a/script/object-detection/calc_metrics_coco_pycocotools.py b/script/object-detection/calc_metrics_coco_pycocotools.py index 87c86555..7ef03d69 100644 --- a/script/object-detection/calc_metrics_coco_pycocotools.py +++ b/script/object-detection/calc_metrics_coco_pycocotools.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/object-detection/calc_metrics_coco_tf.py b/script/object-detection/calc_metrics_coco_tf.py index 6c957b36..e72c5e05 100644 --- a/script/object-detection/calc_metrics_coco_tf.py +++ b/script/object-detection/calc_metrics_coco_tf.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/object-detection/calc_metrics_kitti.py b/script/object-detection/calc_metrics_kitti.py index 47e24d01..50ec6ffd 100644 --- a/script/object-detection/calc_metrics_kitti.py +++ b/script/object-detection/calc_metrics_kitti.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # def evaluate(results_dir, annotations_dir): diff --git a/script/object-detection/calc_metrics_oid.py b/script/object-detection/calc_metrics_oid.py index 046072ca..f94e865d 100644 --- a/script/object-detection/calc_metrics_oid.py +++ b/script/object-detection/calc_metrics_oid.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/object-detection/ck_utils.py b/script/object-detection/ck_utils.py index 0a84999b..a78be6b7 100644 --- a/script/object-detection/ck_utils.py +++ b/script/object-detection/ck_utils.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/object-detection/converter_annotations.py b/script/object-detection/converter_annotations.py index 14783b2a..e9d89b12 100644 --- a/script/object-detection/converter_annotations.py +++ b/script/object-detection/converter_annotations.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/object-detection/converter_results.py b/script/object-detection/converter_results.py index fc8b5757..81cd83e4 100644 --- a/script/object-detection/converter_results.py +++ b/script/object-detection/converter_results.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/object-detection/iniless_postprocess.py b/script/object-detection/iniless_postprocess.py index 0dccf30c..feec216c 100644 --- a/script/object-detection/iniless_postprocess.py +++ b/script/object-detection/iniless_postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # diff --git a/script/object-detection/loadgen_postprocess.py b/script/object-detection/loadgen_postprocess.py index 9c5d24a3..35965519 100644 --- a/script/object-detection/loadgen_postprocess.py +++ b/script/object-detection/loadgen_postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2019 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/object-detection/loadgen_preprocess.py b/script/object-detection/loadgen_preprocess.py index 272c78ad..c7422e4b 100644 --- a/script/object-detection/loadgen_preprocess.py +++ b/script/object-detection/loadgen_preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/object-detection/schindler.py b/script/object-detection/schindler.py index 703d9c35..b4891635 100644 --- a/script/object-detection/schindler.py +++ b/script/object-detection/schindler.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/process-nntest-avgpool/process.py b/script/process-nntest-avgpool/process.py index c56447bb..8e1a0efb 100644 --- a/script/process-nntest-avgpool/process.py +++ b/script/process-nntest-avgpool/process.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw output of an avgpool test program to the CK format. # diff --git a/script/process-nntest-conv/process.py b/script/process-nntest-conv/process.py index 7239cf13..c8d2e515 100644 --- a/script/process-nntest-conv/process.py +++ b/script/process-nntest-conv/process.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw output of a softmax test program to the CK format. # diff --git a/script/process-nntest-depthwiseconv/process.py b/script/process-nntest-depthwiseconv/process.py index d92a4cf4..6c482777 100644 --- a/script/process-nntest-depthwiseconv/process.py +++ b/script/process-nntest-depthwiseconv/process.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw output of a fc test program to the CK format. # diff --git a/script/process-nntest-fullyconnected/process.py b/script/process-nntest-fullyconnected/process.py index e0a96422..66195fe7 100644 --- a/script/process-nntest-fullyconnected/process.py +++ b/script/process-nntest-fullyconnected/process.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw output of a fc test program to the CK format. # diff --git a/script/process-nntest-gemm/process.py b/script/process-nntest-gemm/process.py index 88b4c486..04ee1675 100644 --- a/script/process-nntest-gemm/process.py +++ b/script/process-nntest-gemm/process.py @@ -2,8 +2,8 @@ # Copyright (c) 2017-2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw output of a GEMM test program to the CK format. # diff --git a/script/process-nntest-lstm/process.py b/script/process-nntest-lstm/process.py index 464ae562..c922b043 100644 --- a/script/process-nntest-lstm/process.py +++ b/script/process-nntest-lstm/process.py @@ -2,8 +2,8 @@ # Copyright (c) 2017-2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw output of a GEMM test program to the CK format. # diff --git a/script/process-nntest-reshape/process.py b/script/process-nntest-reshape/process.py index 9f2c21d2..5f1f2089 100644 --- a/script/process-nntest-reshape/process.py +++ b/script/process-nntest-reshape/process.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw output of a reshape test program to the CK format. # diff --git a/script/process-nntest-resizebilinear/process.py b/script/process-nntest-resizebilinear/process.py index 4359d7f5..67b9cf44 100644 --- a/script/process-nntest-resizebilinear/process.py +++ b/script/process-nntest-resizebilinear/process.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw output of a rb test program to the CK format. # diff --git a/script/process-nntest-softmax/process.py b/script/process-nntest-softmax/process.py index dc0ecb9c..6a309bf9 100644 --- a/script/process-nntest-softmax/process.py +++ b/script/process-nntest-softmax/process.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw output of a softmax test program to the CK format. # diff --git a/script/process-nntest/output.py b/script/process-nntest/output.py index c6ab0c81..e3e723ee 100644 --- a/script/process-nntest/output.py +++ b/script/process-nntest/output.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Convert raw dvdt prof output to the CK format. # diff --git a/script/speech-recognition/loadgen_postprocess.py b/script/speech-recognition/loadgen_postprocess.py index b474f747..278f3c99 100644 --- a/script/speech-recognition/loadgen_postprocess.py +++ b/script/speech-recognition/loadgen_postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/speech-recognition/loadgen_preprocess.py b/script/speech-recognition/loadgen_preprocess.py index ad6bb518..6a7b8225 100644 --- a/script/speech-recognition/loadgen_preprocess.py +++ b/script/speech-recognition/loadgen_preprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/script/speech-recognition/postprocess.py b/script/speech-recognition/postprocess.py index 99ae3036..9aa0ec5f 100644 --- a/script/speech-recognition/postprocess.py +++ b/script/speech-recognition/postprocess.py @@ -2,8 +2,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/soft/lib.edgetpu/customize.py b/soft/lib.edgetpu/customize.py index 8b49c909..4c4fb047 100755 --- a/soft/lib.edgetpu/customize.py +++ b/soft/lib.edgetpu/customize.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/soft/lib.eigen/customize.py b/soft/lib.eigen/customize.py index 8393404a..ab8ee0e7 100644 --- a/soft/lib.eigen/customize.py +++ b/soft/lib.eigen/customize.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Collective Knowledge (individual environment - setup) # diff --git a/soft/lib.gemmlowp/customize.py b/soft/lib.gemmlowp/customize.py index 4f267d79..37baa16d 100644 --- a/soft/lib.gemmlowp/customize.py +++ b/soft/lib.gemmlowp/customize.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Collective Knowledge (individual environment - setup) # diff --git a/soft/lib.mace/customize.py b/soft/lib.mace/customize.py index 968ebe4e..f20b5a65 100644 --- a/soft/lib.mace/customize.py +++ b/soft/lib.mace/customize.py @@ -2,8 +2,8 @@ # Copyright (c) 2018 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # import os diff --git a/soft/lib.nntest/customize.py b/soft/lib.nntest/customize.py index 9009e687..f87dffcf 100644 --- a/soft/lib.nntest/customize.py +++ b/soft/lib.nntest/customize.py @@ -2,8 +2,8 @@ # Copyright (c) 2017 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Collective Knowledge (individual environment - setup) # diff --git a/soft/nntest.plugin/customize.py b/soft/nntest.plugin/customize.py index fae95b34..a2a8f84a 100644 --- a/soft/nntest.plugin/customize.py +++ b/soft/nntest.plugin/customize.py @@ -2,8 +2,8 @@ # Copyright (c) 2020 cTuning foundation. # See CK COPYRIGHT.txt for copyright details. # -# SPDX-License-Identifier: BSD-3-Clause. -# See CK LICENSE.txt for licensing details. +# See CK LICENSE for licensing details. +# See CK COPYRIGHT for copyright details. # # Collective Knowledge (individual environment - setup) #