Zihao Mu
a80fcacd90
Merge pull request #21372 from zihaomu:dnn_quantize_per_tensor
...
Add per_tensor_quantize to int8 quantize
* add per_tensor_quantize to dnn int8 module.
* change api flag from perTensor to perChannel, and recognize quantize type and onnx importer.
* change the default to hpp
2 years ago
Zihao Mu
59b870a87a
Merge pull request #21910 from zihaomu:fast_conv_ARM
...
DNN: Accelerating convolution
* Fast Conv of ARM, X86 and universal intrinsics.
* improve code style.
* error fixed.
* improve the License
* optimize memory allocated and Adjust the threshold.
* change FasterRCNN_vgg16 to 2GB memory.
2 years ago
Zihao Mu
ef94275eb6
bug fixed of GEMM node in ONNX_importer
2 years ago
Wanli
a6ca48a1c2
Merge pull request #22100 from WanliZhong:issue_22015
...
Fix issue 22015, let Clip layer support 1-3 inputs
* Fix issue 22015.
Let layer Clip support 1-3 inputs.
* Resolve other problems caused by modifications
* Update onnx_importer.cpp
added extra checks to min/max handling in Clip
* Add assertions to check the size of the input
* Add test for clip with min and max initializers
* Separate test for "clip_init_min_max". Change the check method for input_size to provide a clearer message in case of problem.
* Add tests for clip with min or max initializers
* Change the implementation of getting input
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
2 years ago
Zihao Mu
2411b825b4
bug fixed of GEMM node in ONNX_importer
2 years ago
rogday
a2ad997e97
fix vector access in TF::sortByExecutionOrder
3 years ago
rogday
93dc0679ec
Merge pull request #21818 from rogday:revert_renaming
...
* add prefixes to layer names and layer output names
* dnn: OPENCV_DNN_ONNX_USE_LEGACY_NAMES runtime parameter
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
fengyuentau
ff88132620
support asymmetric paddings for qconv
3 years ago
Zihao Mu
64ded50bbf
parsing depth2space and space2depth of ONNX importer
3 years ago
rogday
9cd5a0a1e6
Merge pull request #21884 from rogday:cuda_cleanup
...
Fix CUDA compilation issues and adjust thresholds.
* Fix CUDA compilation issues and adjust thresholds.
* add conformance tests to denylist
3 years ago
rogday
a2b84e9897
add assert to tf graph simplifier to address security concerns
3 years ago
OpenCV Developers
e3a55af336
dnn(test): update opencv_face_detector checks
...
original commit: be4a432bea
3 years ago
OpenCV Developers
be4a432bea
dnn(test): update opencv_face_detector checks
3 years ago
zihaomu
e36948cfbc
add ONNX OP sign, shrink and reciprocal
3 years ago
Alexander Alekhin
08d44f588f
dnn(test): update OpenVINO tests 2022.1.0 (OpenCV 4.x)
3 years ago
Alexander Alekhin
4d927e73f1
dnn(test): update OpenVINO tests 2022.1.0
3 years ago
Zihao Mu
7b582b71ba
Merge pull request #21036 from fengyuentau:timvx_backend_support
...
dnn: TIM-VX NPU backend support
* Add TimVX NPU backend for DNN module.
* use official branch from tim-vx repo; fix detecting viv sdk
Co-authored-by: fytao <yuantao.feng@outlook.com>
3 years ago
Alexander Alekhin
6f5cf8c15f
dnn: fix ReduceLayer implementation, update OpenVINO tests
3 years ago
Alexander Alekhin
b687bc807a
dnn(test): update OpenVINO tests 2021.4.2
3 years ago
luz paz
8e8e4bbabc
dnn: fix various dnn related typos
...
Fixes source comments and documentation related to dnn code.
3 years ago
Zihao Mu
b6b5c27cec
Support for some reduce layers for onnx
3 years ago
rogday
93353aea70
Merge pull request #21522 from rogday:lstm
...
Fix LSTM support in ONNX
* fix LSTM and add peephole support
* disable old tests
* turn lambdas into functions
* more hacks for c++98
* add assertions
* slice fixes
* backport of cuda-related fixes
* address review comments
3 years ago
Egor Smirnov
375fe81311
fix slice and expand
3 years ago
Maksim Shabunin
a251474144
Update filters in ONNX tests
3 years ago
Maksim Shabunin
45cbf70265
Update filters in ONNX tests
3 years ago
Alexander Alekhin
effce0573b
dnn: drop legacy Inference Engine NN builder API
3 years ago
Alexander Alekhin
1f70d4e2a5
dnn(test): re-enable ONNX split tests for OpenVINO
3 years ago
Alexander Alekhin
870c8d3c4e
dnn(test): fix int8 tolerances
3 years ago
Alexander Alekhin
a7e6a1059c
dnn(test): fix outputs handling in ONNX conformance
...
- ONNX output is 1 tensor per defined output instead of N tensors from outputs of "output" layer
3 years ago
Zihao Mu
9e3ba487fa
Merge pull request #21518 from zihaomu:resize_onnx_opset13
...
Add resize layer compatible with ONNX opset13 version
3 years ago
Alexander Alekhin
9699e2b483
dnn(onnx): handle non-default ONNX domains
...
- re-enable quantized models tests
3 years ago
Alexander Alekhin
6e299b582a
dnn(test): decompose 'DynamicAxes' test
3 years ago
Alexander Alekhin
c78a8dfd2d
fix 4.x links
3 years ago
Alexander Alekhin
b1a57c4cb2
fix 3.4 links
3 years ago
rogday
0a178a687a
fix const/x in Div
3 years ago
Smirnov Egor
71a22e45b0
add celu, hardsigmoid, selu, thresholdedrelu layers
3 years ago
Smirnov Egor
1bd382c1d0
Add acos, acosh, asin, asinh, atan, atanh, cos, cosh, erf, hardswish, sin, sinh, softplus, softsign, tan layers
3 years ago
Alexander Alekhin
249c508126
dnn(test): skip failed tests on Vulkan backend
3 years ago
Smirnov Egor
fec2c7e715
fix Flatten layer
3 years ago
Gruhuang
b4bb98ea60
Merge pull request #21268 from pccvlab:tf_Arg
...
add argmax and argmin parsing for tensorflow
* add argmax and argmin for tf
* remove whitespace
* remove whitespace
* remove static_cast
Signed-off-by: Crayon-new <1349159541@qq.com>
3 years ago
Alexander Alekhin
6d677bbd63
dnn(test): update ONNX conformance filters (4.x)
3 years ago
Alexander Alekhin
f3ba88c87c
dnn(test): update ONNX conformance filters
3 years ago
Smirnov Egor
e97c7e042b
fix max_unpool missing attributes, add default value of keepdims in reducemean/max/sum, add support for keepdims=true in full reduction branch, add new padding type to Pad
3 years ago
rogday
4827fe86bb
Merge pull request #21088 from rogday:onnx_tests
...
Onnx conformance tests
* Add ONNX conformance tests
* dnn(test): add filters for ONNX conformance tests
* add filter lists for OCV backend
* address review comments
* move test_clip_inbounds to all_denylist
* address clip issue
* avoid empty lists
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
cqn2219076254
252ce0b581
add square layer
3 years ago
Gruhuang
17bc8565f6
Merge pull request #21154 from pccvlab:MatMul_with_two_inputs
...
Add BatchMatMul layer support for tf_importer
* two inputs
* support batch_matmul
* refactor: remove useless code
* refactor: decrease nesting
3 years ago
Smirnov Egor
e608adea60
add ArgMax and ArgMin layers
3 years ago
Alexander Alekhin
0835611d3a
dnn(test): re-enable tests which works with OpenVINO 2021.4.x
3 years ago
Alexander Alekhin
bd396e1fd5
dnn(test): re-enable tests which works with OpenVINO 2021.4.x (3.4)
3 years ago
Alexander Alekhin
f55c9ed1ba
dnn(test): drop non OCV/CPU cases for Int8
...
- zero code coverage and up to x3-x8 tests slowdown
- implementation executes OCV/CPU in all cases
- wrong skip conditions
3 years ago