Alexander Alekhin
a233982931
Merge pull request #20938 from JulieBar:lstm_cuda2
2022-04-01 22:10:08 +00:00
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>
2022-03-31 21:42:11 +00:00
Smirnov Egor
abebbf04b1
Add CUDA support for LSTM.
...
Co-authored-by: Julia Bareeva <jbareeva@gmail.com>
2022-03-31 16:38:22 +03:00
Alexander Alekhin
5e434073d4
Merge pull request #21796 from alalek:dnn_reduce_fixup_21601
2022-03-30 22:26:28 +00:00
Alexander Alekhin
6f5cf8c15f
dnn: fix ReduceLayer implementation, update OpenVINO tests
2022-03-30 20:03:41 +00:00
Alexander Alekhin
b687bc807a
dnn(test): update OpenVINO tests 2021.4.2
2022-03-30 18:58:35 +00:00
Alexander Alekhin
1339ebaa84
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-03-26 16:00:28 +00:00
Alexander Alekhin
c9b90884da
Merge pull request #21601 from zihaomu:add_reduceLayer
2022-03-26 10:20:10 +00:00
luz paz
8e8e4bbabc
dnn: fix various dnn related typos
...
Fixes source comments and documentation related to dnn code.
2022-03-23 18:12:12 -04:00
Alexander Alekhin
4c79318694
dnn: fix index access
2022-03-19 06:54:07 +00:00
Zihao Mu
b6b5c27cec
Support for some reduce layers for onnx
2022-03-18 10:19:13 +08:00
Alexander Alekhin
685797f403
Merge pull request #21662 from alalek:dnn_split
2022-03-17 16:09:17 +00:00
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
2022-03-15 09:14:05 +03:00
Alexander Alekhin
5bf3c1df24
Merge pull request #21715 from ilyachur:change_type_info_creation
2022-03-14 09:18:58 +00:00
Ilya Churaev
419918076e
Changed call of NodeTypeInfo constructor
2022-03-14 10:55:33 +03:00
Alexander Alekhin
a120adde63
dnn: add dnn.cpp file with information about git commits history
2022-03-08 19:22:47 +00:00
Alexander Alekhin
a80af177b6
dnn: split dnn.cpp code
...
base commit: 19926e2979
original dnn.cpp content: 19926e2979/modules/dnn/src/dnn.cpp
2022-03-08 19:22:46 +00:00
Tsukasa Sugiura
8db7d435b9
Merge pull request #21692 from UnaNancyOwen:add_softmax
...
* add apply softmax option to ClassificationModel
* remove default arguments of ClassificationModel::setSoftMax()
* fix build for python
* fix docs warning for setSoftMax()
* add impl for ClassficationModel()
* fix failed build for docs by trailing whitespace
* move to implement classify() to ClassificationModel_Impl
* move to implement softmax() to ClassificationModel_Impl
* remove softmax from public method in ClassificationModel
2022-03-07 20:26:15 +00:00
Alexander Alekhin
901e0ddfe4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-03-05 19:46:28 +00:00
Alexander Alekhin
5cc27fd3b5
Merge pull request #21542 from rogday:split_expand
2022-02-28 22:38:24 +00:00
Egor Smirnov
375fe81311
fix slice and expand
2022-02-28 17:18:07 +03:00
Alexander Alekhin
899b4d1452
Merge branch 4.x
2022-02-22 19:55:26 +00:00
Yuantao Feng
f77c3574af
Merge pull request #21607 from fengyuentau:fix_FaceDetectorYN_dynamic_shape
...
Use YuNet of fixed input shape to fix not-supported-dynamic-zero-shape for FaceDetectorYN
* use yunet with input of fixed shape
* update yunet used in face recognition regression
2022-02-21 13:49:07 +00:00
Maksim Shabunin
a251474144
Update filters in ONNX tests
2022-02-15 11:56:28 +03:00
Maksim Shabunin
45cbf70265
Update filters in ONNX tests
2022-02-14 17:16:49 +03:00
Alexander Alekhin
19926e2979
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-02-11 17:32:37 +00:00
Alexander Alekhin
effce0573b
dnn: drop legacy Inference Engine NN builder API
2022-02-10 11:55:24 +00:00
Alexander Alekhin
57d3002ee1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-02-06 16:10:43 +00:00
Alexander Alekhin
a00a0dbfcd
Merge pull request #21564 from alalek:dnn_fix_openvino_outputs
2022-02-06 16:06:23 +00:00
Alexander Alekhin
b41d2c5c14
Merge pull request #21569 from alalek:fixup_18031
2022-02-06 16:04:38 +00:00
Alexander Alekhin
1da48beeec
dnn(ngraph): fix output names
2022-02-06 13:08:53 +00:00
Alexander Alekhin
b57ff73086
dnn(ngraph): fix outputs handling, drop 'unconnected' logic
2022-02-06 13:08:53 +00:00
Alexander Alekhin
67978b5746
dnn(ngraph): add debuging messages
2022-02-06 13:08:53 +00:00
Alexander Alekhin
062f305d1a
dnn: don't fuse 'outputs' with OpenVINO backend
2022-02-06 13:08:53 +00:00
Alexander Alekhin
1f70d4e2a5
dnn(test): re-enable ONNX split tests for OpenVINO
2022-02-06 10:36:15 +00:00
Alexander Alekhin
aa5bc20c83
dnn(ngraph): fixup get_output_as_single_output_node() replacement patch
2022-02-06 10:35:59 +00:00
Maksim Shabunin
d1e76a34a0
3.4: Use modern OpenVINO package interface
...
original commit: 437af37b13
2022-02-02 09:04:03 +00:00
Maksim Shabunin
437af37b13
Use modern OpenVINO package interface
2022-02-01 16:52:17 +00:00
Alexander Alekhin
870c8d3c4e
dnn(test): fix int8 tolerances
2022-01-31 12:54:01 +00:00
Alexander Alekhin
d573472a86
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-01-31 12:53:45 +00:00
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
2022-01-29 23:29:51 +00:00
Alexander Alekhin
85719a0a5d
dnn: support outputs registration under new names
...
- fixed ONNX importer
2022-01-29 23:29:51 +00:00
Alexander Alekhin
dc35633aa4
Merge pull request #21521 from alalek:dnn_ignore_denormals
2022-01-28 15:31:44 +00:00
Zihao Mu
9e3ba487fa
Merge pull request #21518 from zihaomu:resize_onnx_opset13
...
Add resize layer compatible with ONNX opset13 version
2022-01-28 17:55:01 +03:00
Alexander Alekhin
9188ce68aa
Merge pull request #21490 from rogday:optional_outputs
2022-01-26 15:18:07 +00:00
Alexander Alekhin
70b0274c8e
dnn: apply hint to ignore denormals processing
2022-01-26 11:28:35 +00:00
Alexander Alekhin
b796ededae
Merge pull request #21437 from alalek:dnn_api_explicit_const_4.x
2022-01-21 20:19:50 +00:00
Alexander Alekhin
eb7b45d26b
dnn: fix API - explicit ctors, const methods
2022-01-21 12:38:51 +00:00
Smirnov Egor
17b2d92a3d
add optional outputs support and fix graph links
2022-01-21 12:31:46 +03:00
Alexander Alekhin
6ffa2b01e1
Merge pull request #21357 from rogday:model_diag
2022-01-18 15:50:11 +00:00
rogday
0fe7420638
fix model diagnostic tool
2022-01-18 01:22:22 +03:00
Alexander Alekhin
b304730225
dnn: fix API - explicit ctors, const methods
2022-01-17 21:45:29 +00:00
Maksim Shabunin
d5f73f89d8
Fixed issues found by static analysis
2022-01-13 14:51:25 +03:00
Alexander Alekhin
aebb65e983
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-01-12 13:26:10 +00:00
Alexander Alekhin
80d9f624d0
dnn: don't use aligned load without alignment checks
...
- weights are unaligned in dasiamprn sample (comes from numpy)
2022-01-12 05:11:18 +00:00
Alexander Alekhin
a0d5277e0d
Merge branch 4.x
2021-12-30 21:43:45 +00:00
Alexander Alekhin
76fb3652fc
dnn(ocl): fix fp16 kernel compilation
2021-12-29 19:58:25 +00:00
Alexander Alekhin
9699e2b483
dnn(onnx): handle non-default ONNX domains
...
- re-enable quantized models tests
2021-12-25 01:38:52 +00:00
Alexander Alekhin
217fea9667
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-24 16:48:07 +00:00
Alexander Alekhin
cdd4354256
Merge pull request #21336 from alalek:dnn_pooling_check_array_indexes
2021-12-24 08:35:11 +00:00
Alexander Alekhin
6385511e88
dnn: add checks in pooling layer implementation
...
- to avoid out of buffer access
2021-12-24 00:15:30 +00:00
Alexander Alekhin
ed4becf007
dnn(onnx): debug dump of inputs/outputs/initializers in importer
2021-12-23 21:11:40 +00:00
Alexander Alekhin
f5589445b9
Merge pull request #21322 from alalek:dnn_catch_errors
2021-12-23 20:09:22 +00:00
Alexander Alekhin
011ed380aa
Merge pull request #21323 from alalek:dnn_do_not_rebuilt_network_in_setInput
2021-12-23 15:45:28 +00:00
Alexander Alekhin
88a18c8b6a
dnn(onnx): emit error in Shape for dynamic input
2021-12-23 15:42:59 +00:00
Alexander Alekhin
51e65db715
dnn(onnx): fix Resize inputs handling
2021-12-23 15:42:59 +00:00
Alexander Alekhin
cc02fcd889
dnn: improve debug messages, add ONNX opset version
2021-12-23 15:42:59 +00:00
Alexander Alekhin
c408157a4d
dnn: do not try to rebuilt network during setInput()
...
- this doesn't make sense in case of multiple inputs
2021-12-23 02:40:33 +00:00
Alexander Alekhin
6e299b582a
dnn(test): decompose 'DynamicAxes' test
2021-12-23 00:47:27 +00:00
Alexander Alekhin
9777fbacf6
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-22 15:57:02 +00:00
Alexander Alekhin
c78a8dfd2d
fix 4.x links
2021-12-22 13:24:30 +00:00
Alexander Alekhin
b1a57c4cb2
fix 3.4 links
2021-12-22 12:38:21 +00:00
rogday
0a178a687a
fix const/x in Div
2021-12-20 19:53:37 +03:00
Alexander Alekhin
80492d663e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-18 16:19:06 +00:00
Alexander Alekhin
172c539a5a
Merge pull request #21281 from alalek:update_version_4.5.5-pre
2021-12-18 13:46:38 +00:00
Alexander Alekhin
a079acc0d9
Merge pull request #21280 from alalek:update_version_3.4.17-pre
2021-12-18 13:46:29 +00:00
Smirnov Egor
71a22e45b0
add celu, hardsigmoid, selu, thresholdedrelu layers
2021-12-18 03:19:54 +03:00
Alexander Alekhin
04ee99f1a3
Merge pull request #21282 from alalek:dnn_test_vulkan_skip
2021-12-17 19:39:35 +00:00
Smirnov Egor
1bd382c1d0
Add acos, acosh, asin, asinh, atan, atanh, cos, cosh, erf, hardswish, sin, sinh, softplus, softsign, tan layers
2021-12-17 18:19:40 +03:00
Alexander Alekhin
249c508126
dnn(test): skip failed tests on Vulkan backend
2021-12-17 14:01:04 +00:00
Smirnov Egor
fec2c7e715
fix Flatten layer
2021-12-17 16:29:56 +03:00
Alexander Alekhin
07dca8cc03
pre: OpenCV 4.5.5 (version++)
2021-12-17 10:12:11 +00:00
Alexander Alekhin
60c093f086
pre: OpenCV 3.4.17 (version++)
2021-12-17 10:05:52 +00:00
Alexander Alekhin
622b9d9276
Merge pull request #21267 from mshabunin:fix-kw-2021-12
2021-12-16 18:51:47 +00:00
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>
2021-12-16 17:06:02 +00:00
Maksim Shabunin
792b7e0629
(3.4) Fixed several issues found by static analysis
...
original commit: a079c2eb7c
2021-12-16 17:02:58 +00:00
Maksim Shabunin
a079c2eb7c
Fixed several issues found by static analysis
2021-12-16 19:21:25 +03:00
Alexander Alekhin
6d677bbd63
dnn(test): update ONNX conformance filters (4.x)
2021-12-16 12:09:31 +00:00
Alexander Alekhin
299f9837b7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-15 16:38:56 +00:00
Alexander Alekhin
f3ba88c87c
dnn(test): update ONNX conformance filters
2021-12-15 12:53:53 +00:00
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
2021-12-14 22:09:27 +03:00
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>
2021-12-14 16:58:06 +00:00
cqn2219076254
252ce0b581
add square layer
2021-12-13 21:43:13 +08:00
Alexander Alekhin
6e50e4b9ee
Merge pull request #21161 from rogday:elu_alpha_4x
2021-12-10 16:04:01 +00:00
HAN Liutong
1599f9f0c0
Merge pull request #21086 from hanliutong:rvv-dnn
...
Further optimize DNN for RISC-V Vector.
* Optimize DNN on RVV by using vsetvl.
* Rename vl.
* Update fastConv by using setvl instead of mask.
* Fix fastDepthwiseConv
2021-12-10 16:03:22 +00:00
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
2021-12-10 14:44:27 +03:00
Smirnov Egor
e608adea60
add ArgMax and ArgMin layers
2021-12-06 20:49:54 +03:00
Alexander Alekhin
73318fd514
Merge pull request #21167 from alalek:dnn_test_reenable_ov_2021_4
2021-12-04 22:12:18 +00:00
HAN Liutong
4935b14539
Merge pull request #21012 from hanliutong:rvv_clang
...
Update RVV backend for using Clang.
* Update cmake file of clang.
* Modify the RVV optimization on DNN to adapt to clang.
* Modify intrin_rvv: Disable some existing types.
* Modify intrin_rvv: Reinterpret instead of load&cast.
* Modify intrin_rvv: Update load&store without cast.
* Modify intrin_rvv: Rename vfredsum to fredosum.
* Modify intrin_rvv: Rewrite Check all/any by using vpopc.
* Modify intrin_rvv: Use reinterpret instead of c-style casting.
* Remove all macros which is not used in v_reinterpret
* Rename vpopc to vcpop according to spec.
2021-12-03 15:13:24 +00:00
Alexander Alekhin
0835611d3a
dnn(test): re-enable tests which works with OpenVINO 2021.4.x
2021-12-03 14:01:30 +00:00