1. 24 6月, 2023 1 次提交
    • Y
      Merge pull request #23853 from fengyuentau:disable_fp16_warning · aff42032
      Yuantao Feng 提交于
      dnn: disable warning when loading a fp16 model #23853
      
      ### Pull Request Readiness Checklist
      
      See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
      
      - [x] I agree to contribute to the project under Apache 2 License.
      - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
      - [x] The PR is proposed to the proper branch
      - [ ] There is a reference to the original bug report and related work
      - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
            Patch to opencv_extra has the same branch name.
      - [ ] The feature is well documented and sample code can be built with the project CMake
      aff42032
  2. 29 5月, 2023 1 次提交
  3. 15 5月, 2023 1 次提交
    • D
      Merge pull request #23604 from dkurt:dnn_no_protobuf · a8d3d1f6
      Dmitry Kurtaev 提交于
      Build DNN without Protobuf
      
      DNN module can be built without Protobuf for Darknet, TFLite, OpenVINO, Torch (not PyTorch) models.
      
      ```
      cmake \
          -DCMAKE_BUILD_TYPE=Release \
          -DBUILD_LIST=dnn \
          -DWITH_PROTOBUF=OFF \
          -DWITH_OPENCL=OFF
      
      7.1M    lib/libopencv_dnn.so.4.7.0
      ```
      
      
      ```
      cmake \
          -DCMAKE_BUILD_TYPE=Release \
          -DBUILD_LIST=dnn \
          -DWITH_OPENCL=OFF
      
      3.9M    lib/libopencv_dnn.so.4.7.0
      ```
      
      ### Pull Request Readiness Checklist
      
      See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
      
      - [x] I agree to contribute to the project under Apache 2 License.
      - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
      - [x] The PR is proposed to the proper branch
      - [x] There is a reference to the original bug report and related work
      - [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
            Patch to opencv_extra has the same branch name.
      - [x] The feature is well documented and sample code can be built with the project CMake
      a8d3d1f6
  4. 05 5月, 2023 1 次提交
  5. 06 4月, 2023 1 次提交
  6. 11 2月, 2023 1 次提交
  7. 27 1月, 2023 1 次提交
    • Y
      Merge pull request #23047 from fengyuentau:layer_norm · 4d918ba4
      Yuantao Feng 提交于
      dnn: add layer normalization for vision transformers
      
      * add layer norm onnx parser, impl and tests
      
      * add onnx graph simplifier for layer norm expanded
      
      * handle the case when constants are of type Initializer
      
      * add test case for layer norm expanded with initializers
      
      * use CV_Assert & CV_CheckType in place of CV_Assert_N; use forward_fallback for OCL_FP16
      
      * use const ref / ref in parameters of invoker::run; extract inner const if from nested loop; use size_t in place of ull
      
      * template hasBias
      
      * remove trailing whitespace
      
      * use pointer parameter with null check; move normSize division & mean_square division outside of loop; use std::max to ensure positive value before std::sqrt
      
      * refactor implementation, optimize parallel_for
      
      * disable layer norm expanded
      
      * remove the removal of layer norm optional outputs
      4d918ba4
  8. 27 8月, 2022 1 次提交
  9. 26 8月, 2022 1 次提交
  10. 28 7月, 2022 2 次提交
  11. 24 12月, 2021 1 次提交
  12. 18 12月, 2021 1 次提交
  13. 17 12月, 2021 1 次提交
  14. 30 11月, 2021 1 次提交
  15. 05 10月, 2021 1 次提交
    • J
      Merge pull request #20535 from SamFC10:onnx-q · cce78cc5
      Jebastin Nadar 提交于
      dnn : int8 quantized layers support in onnx importer
      
      * added quantized layers support in onnx importer
      
      * added more cases in eltwise node, some more checks
      
      * added tests for quantized nodes
      
      * relax thresholds for failed tests, address review comments
      
      * refactoring based on review comments
      
      * added support for unsupported cases and pre-quantized resnet50 test
      
      * relax thresholds due to int8 resize layer
      cce78cc5
  16. 09 9月, 2021 1 次提交
    • R
      Merge pull request #20605 from rogday:split_slice_shenanigans · 4807cd8a
      rogday 提交于
      Add Normalize subgraph, fix Slice, Mul and Expand
      
      * Add Normalize subgraph, support for starts<0 and axis<0 in Slice, Mul broadcasting in the middle and fix Expand's unsqueeze
      
      * remove todos
      
      * remove range-based for loop
      
      * address review comments
      
      * change >> to > > in template
      
      * fix indexation
      
      * fix expand that does nothing
      4807cd8a
  17. 30 3月, 2021 1 次提交
  18. 01 2月, 2021 1 次提交
  19. 15 1月, 2021 1 次提交
  20. 17 11月, 2020 2 次提交
  21. 15 8月, 2020 1 次提交
  22. 12 5月, 2020 1 次提交
  23. 22 4月, 2020 1 次提交
  24. 13 4月, 2020 1 次提交
  25. 07 4月, 2020 1 次提交
    • L
      Merge pull request #16840 from l-bat:matmul_inputs · 73477141
      Liubov Batanina 提交于
      * Supported FullyConnected layer with two inputs
      
      * Skipped test
      
      * Fix conditions
      
      * Added OpenCL support
      
      * Supported ReduceMean3D
      
      * Supported Expand layer
      
      * Fix warning
      
      * Added Normalize subgraph
      
      * refactoring
      
      * Used addLayer
      
      * Fix check
      
      * Used addLayer
      
      * Skip failed test
      
      * Added normalize1 subgraph
      
      * Fix comments
      73477141
  26. 18 3月, 2020 2 次提交
  27. 03 3月, 2020 1 次提交
  28. 29 2月, 2020 1 次提交
  29. 15 1月, 2020 1 次提交
  30. 14 1月, 2020 1 次提交