rogday
4807cd8a6e
Merge pull request #20605 from rogday:split_slice_shenanigans
...
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
3 years ago
Alexander Alekhin
35e824c287
dnn(ocl): fix out of bound access in GEMM-like kernels
...
- dropped usage of CreateSubBuffer() - buffers lifetime management issue
- fixed elementwise offset
- avoid out of bounds read access
3 years ago
Alexander Alekhin
5578ad5e14
dnn(ocl): fix automatic globalsize adjusting
...
- if kernel code doesn't support that
3 years ago
Alexander Alekhin
5b2c016834
dnn(ocl): avoid out of buffer access in copyWeightsSwizzled
3 years ago
Alexander Alekhin
407adc7061
dnn(ocl): fix buffer offsets in IDLF kernel
...
- drop CreateSubBuffer
- fix FUSED_CONV_ELTWISE mode
3 years ago
rogday
d0e612dc36
Merge pull request #20647 from rogday:resize_concat_optimization
...
Fix resize+concat optimization
* fix resize+concat optimization
* add comment and fix indentation
3 years ago
WJJ1995
edc442afdb
Merge pull request #20511 from wjj19950828:add_humanseg_support_0806
...
* support PPSeg model for dnn module
* fixed README for CI
* add test case
* fixed bug
* deal with comments
* rm dnn_model_runner
* update test case
* fixed bug for testcase
* update testcase
3 years ago
Alexander Alekhin
ae6fabc6fe
dnn(ocl): drop CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE check
...
- it is a hint and it should not block kernel execution
3 years ago
Vincent Rabaud
38d0063c36
Do not use deprecated ReleaseCleared in protobuf library.
...
This is to make code work with protobuf arenas for memory
management (ReleaseCleared is incompatible).
The cleaning of the memory is also simpler.
3 years ago
Alexander Alekhin
f28e4b86fb
dnn(ocl): fix top initialization in verifyResult
3 years ago
rogday
6801dd043d
Merge pull request #20494 from rogday:onnx_diagnostic_fix
...
fix ONNXImporter diagnostic mode layer registration issue
* fix layer registration, thread unsafe access and align the behavior of DNN_DIAGNOSTICS_RUN between onnx and tf importers
* move skipModelInput
* print all missing layers
* address TF issue
3 years ago
Vincent Rabaud
9cfa84313c
Use the one argument version of SetTotalBytesLimit.
...
The two argument versions has been deprecated, cf
https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.io.coded_stream
3 years ago
SamFC10
fa90e14b06
int8 layers and 8-bit quantization support
3 years ago
Smirnov Egor
fe625a558e
fix hasDynamicShapes for batch_size and fix axis selection in Scale layer
3 years ago
thezane
210bfaf8d6
Merge pull request #20483 from thezane:support-cumsum-layer-for-onnx
...
* Support cumsum layer for onnx
* Add unit tests
* Address review comments
3 years ago
Smirnov Egor
9ef41f68fb
fix Split partial sum
3 years ago
Julia Bareeva
cfb36443fb
Merge pull request #20506 from JulieBar:lstm_activations
...
* Support activations(Sigmoid, Tanh) for LSTM
* fix warning
3 years ago
JIANG Yichen
955cf35d5f
Implement ctc prefix beam search decode for TextRecognitionModel.
...
The algorithm is based on Hannun's paper: First-Pass Large Vocabulary
Continuous Speech Recognition using Bi-Directional Recurrent DNNs
3 years ago
HAN Liutong
aaca4987c9
Merge pull request #20287 from hanliutong:dev-rvv-0.10
...
Optimization of DNN using native RISC-V vector intrinsics.
* Use RVV to optimize fastGEMM (FP32) in DNN.
* Use RVV to optimize fastGEMM1T in DNN.
* Use RVV to optimize fastConv in DNN.
* Use RVV to optimize fastDepthwiseConv in DNN.
* Vectorize tails using vl.
* Use "vl" instead of scalar to handle small block in fastConv.
* Fix memory access out of bound in "fastGEMM1T".
* Remove setvl.
* Remove useless initialization.
* Use loop unrolling to handle tail part instead of switch.
3 years ago
Smirnov Egor
739ff84732
add Max layer to TFImporter
3 years ago
SamFC10
2a177052de
fix bug in prior-box variances
3 years ago
Julia Bareeva
e1cafa3834
Merge pull request #20442 from JulieBar:gru_layer
...
* Add initialization and inference for GRU layer
* fix issues found on review
3 years ago
Julia Bareeva
633fedaa96
Merge pull request #20480 from JulieBar:lstm_pytest
...
Add Python's test for LSTM layer
* Add Python's test for LSTM layer
* Set different test threshold for FP16 target
* rename test to test_input_3d
Co-authored-by: Julie Bareeva <julia.bareeva@xperience.ai>
3 years ago
Smirnov Egor
27392f832d
reimplement onnx refactor for master
3 years ago
rogday
cff0168f3a
Merge pull request #20453 from rogday:onnx_importer_fix
...
Split layer dispatch into functions in ONNXImporter
* split layer dispatch into functions
* fixes
* identation and comment fixes
* fix constness
3 years ago
Julia Bareeva
4e5699fa71
Merge pull request #20450 from JulieBar:lstm_inside
...
Support non-zero hidden state for LSTM
* fully support non-zero hidden state for LSTM
* check dims of hidden state for LSTM
* fix failed test Test_Model.TextRecognition
* add new tests for LSTM w/ non-zero hidden params
Co-authored-by: Julie Bareeva <julia.bareeva@xperience.ai>
3 years ago
Smirnov Egor
024b43ca06
implement asymmetric padding for conv2d, max_pool and conv2d_backprop_input
3 years ago
Smirnov Egor
c30078c5a3
add NotImplemented layer
3 years ago
SamFC10
96d35f7c54
Fix convolution asymmetric padding bug in onnx importer
3 years ago
Alexander Alekhin
fbde0c6c96
dnn(ie): fix handling of 1D and non-32F outputs of InferenceEngine
3 years ago
Alexander Alekhin
602e7c83e2
dnn(test): add extra IR models, more checks in IE testing code
3 years ago
Alexander Alekhin
bc210b292b
dnn(test): backport test_ie_models.cpp from 4.5.3
3 years ago
César Gouveia
167a12028d
Merge pull request #20374 from cesarpgouveia:bugfix/fix_load_onnxModel_debug
...
* Fix bug while loading onnx model in debug
* dnn: fix other .at using
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
mitruska
18dbac203f
Use explicit version of ngraph NormalizeL2
3 years ago
Alexander Alekhin
8d1f254dcc
java: force using of 'Ptr<>' for OpenCV classes
...
backport of commit: e5841d3126
3 years ago
Alexander Alekhin
e5841d3126
java: force using of 'Ptr<>' for OpenCV classes
3 years ago
SamFC10
5b8c10f2f8
modified onnx importer to concat const input blobs
4 years ago
Alexander Alekhin
f2057ce1ab
dnn(ie): replace deprecated calls
4 years ago
Alexander Alekhin
6797fd65a5
dnn(test): update tests for OpenVINO 2021.4
4 years ago
Alexander Alekhin
7d842f5bcf
dnn: use OpenVINO 2021.4 defines
4 years ago
Smirnov Egor
dc5199feea
skipping missing layers and layer failures
4 years ago
SamFC10
55e1dfb778
Fix BatchNorm reinitialization
4 years ago
rogday
7ee1816612
split if into map of functions
4 years ago
Alexander Alekhin
b57faa41c2
pre: OpenCV 4.5.3 (version++)
4 years ago
Alexander Alekhin
43940f7ffc
pre: OpenCV 3.4.15 (version++)
4 years ago
Paul Jurczak
ff60abb575
Merge pull request #20080 from pauljurczak:patch-3
...
* Update dnn.hpp
getPerfProfile is not supported by the CUDA backend, see https://github.com/opencv/opencv/issues/20077
* dnn.hpp: fix doxygen formatting
4 years ago
YashasSamaga
32df5faa25
add MatMulOp
4 years ago
Alexander Alekhin
71bae7c23f
dnn(ie): implicit usage of IE::GPU OpenCL kernels cache
4 years ago
Suleyman TURKMEN
159534313e
Update CMakeLists.txt
4 years ago
Aleksandr Voron
2e143b8799
Merge pull request #19961 from alvoron:dnn_ngraph_int64_fix
...
Explicit usage of int64_t in CropAndResizeLayer (IE backend)
* Update crop_and_resize_layer.cpp
4 years ago