Zihao Mu
9085b933d8
Merge pull request #20702 from zihaomu:tf_expand_dim_layer
...
Add ExpandDims layer of tf_importer.cpp
* Add ExpandDims to tf_importer.
* add -1 expand test case.
* Support different dimensions of input.
* Compatible with 5-dimensional NDHWC data
* Code align
* support 3-dim input.
* 3-dim bug fixed.
* fixing error of code format.
3 years ago
Zihao Mu
51b03b87e6
BiasAdd could load Const from second place.
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
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
Smirnov Egor
739ff84732
add Max layer to TFImporter
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
Anastasia Murzova
cc6d48959e
Added reduce sum by channel support
4 years ago
Alexander Alekhin
e56e4876e7
dnn(test): update tests for OpenVINO 2021.3
4 years ago
Anastasia Murzova
e75f1b071b
Added reshape corrections
4 years ago
Anastasia Murzova
7a2b3ed471
Corrected DNN elementwise multiplication
4 years ago
Anastasia M
551d4a8ec1
Merge pull request #19477 from LupusSanctus:am/eltwice_vec
...
* Aligned OpenCV DNN and TF sum op behaviour
Support Mat (shape: [1, m, k, n] ) + Vec (shape: [1, 1, 1, n]) operation
by vec to mat expansion
* Added code corrections: backend, minor refactoring
4 years ago
Anastasia Murzova
7894cd3c73
Aligned TF Reshape layer behaviour
4 years ago
Jebastin Nadar
09d2ca17cf
Merge pull request #19449 from SamFC10:tf-leakyrelu
...
* add LeakyRelu to tf-importer
* fix whitespace error
* added test for leakyrelu
4 years ago
Anastasia Murzova
f2422ace7d
Added TF nearest neighbour resize behaviour alignment
...
Relates to OpenCV issue #18721
4 years ago
Anastasia Murzova
a82c50eac2
Added TF resize_bilinear behaviour alignment
...
Fixes OpenCV issue #18721
4 years ago
YashasSamaga
0f8ab0557e
enable fusion tests, update thresholds and fix missed eltwise fusions
4 years ago
Sergei Slashchinin
61144f935e
Merge pull request #18783 from sl-sergei:fix_conv1d
...
Add support for Conv1D on OpenCV backend
* Add support for Conv1D on OpenCV backend
* disable tests on other targets/backends
* Fix formatting
* Restore comment
* Remove unnecessary flag and fix test logic
* Fix perf test
* fix braces
* Fix indentation, assert check and remove unnecessary condition
* Remove unnecessary changes
* Add test cases for variable weights and bias
* dnn(conv): fallback on OpenCV+CPU instead of failures
* coding style
4 years ago
Liubov Batanina
f3cebb3e1b
Merge pull request #18077 from l-bat:reduce_sum
...
* Supported ReduceSum op
* Skip test
4 years ago
YashasSamaga
ae293f27cf
add DetectionOutputOp
4 years ago
YashasSamaga
265acccd56
allow multiple inputs to resize, fix tests
5 years ago
Alexander Alekhin
79c5d07abe
dnn(test): file 'dnn/efficientdet-d0.pb' is optional
5 years ago
Dmitry Kurtaev
d9bada9867
dnn: EfficientDet
5 years ago
Liubov Batanina
ba3cf47600
Merge pull request #17386 from l-bat:tf_clamp_subgraph
...
* Added ClipByValue subgraph
* Return const nodes
5 years ago
Dmitry Kurtaev
b4a6aa335d
TensorFlow bilinear resize downscale
5 years ago
Dmitry Kurtaev
25ec4ce6f1
PReLU from Tensorflow
5 years ago
Liubov Batanina
4bf94cb5d1
Fix test
5 years ago
Alexander Alekhin
83c4378d5d
dnn(test): skip failed NGRAPH/MYRIAD tests
5 years ago
Liubov Batanina
1c1762d3f6
Skip myriad
5 years ago
Liubov Batanina
aa08900ac8
Supported TF concat 3d
5 years ago
Dmitry Kurtaev
b36eba7fab
Support FusedResizeAndPadConv2D from TensorFlow
5 years ago
Dmitry Kurtaev
7e4b2057f2
Import TF2.0 network from Keras
5 years ago
Dmitry Kurtaev
b927ce18b2
Support for MobileNetV3-SSD from TensorFlow
5 years ago
YashasSamaga
98b5fb4b9f
disable MaskRCNN test for CUDA_FP16
5 years ago
Dmitry Kurtaev
d8dea7896b
Merge pull request #16628 from dkurt:dnn_ngraph_custom_layers
...
* Custom layers with nGraph
* nGraph: multiple outputs from nodes
5 years ago
Dmitry Kurtaev
f3eef792eb
Enable Mask R-CNN with Inference Engine. Full coverage with nGraph
5 years ago
ashishiva3@gmail.com
cd53144ed3
commit: Corrected end tensor_content parsing for StridedSlice layer.
5 years ago
Alexander Alekhin
8ecfb59930
dnn(test): skip failed ngraph tests
5 years ago
Dmitry Kurtaev
8f1e36f7c1
Disable some tests for Myriad target of nGraph
...
Add lightweight IE hardware targets checks
nGraph: Concat with paddings
Enable more nGraph tests
Restore FP32->FP16 for GPU plugin of IE
try to fix buildbot
Use lightweight IE targets check only starts from R4
5 years ago
Liubov Batanina
e9e3af0aaa
Add global pool by axis test
5 years ago
Yashas Samaga B L
1fac1421e5
Merge pull request #16010 from YashasSamaga:cuda4dnn-fp16-tests
...
* enable tests for DNN_TARGET_CUDA_FP16
* disable deconvolution tests
* disable shortcut tests
* fix typos and some minor changes
* dnn(test): skip CUDA FP16 test too (run_pool_max)
5 years ago
Dmitry Kurtaev
d8e10f3a8d
Enable MaxPooling with indices in Inference Engine
5 years ago
Lubov Batanina
7523c777c5
Merge pull request #15537 from l-bat:ngraph
...
* Support nGraph
* Fix resize
5 years ago
Yashas Samaga B L
613c12e590
Merge pull request #14827 from YashasSamaga:cuda4dnn-csl-low
...
CUDA backend for the DNN module
* stub cuda4dnn design
* minor fixes for tests and doxygen
* add csl public api directory to module headers
* add low-level CSL components
* add high-level CSL components
* integrate csl::Tensor into backbone code
* switch to CPU iff unsupported; otherwise, fail on error
* add fully connected layer
* add softmax layer
* add activation layers
* support arbitary rank TensorDescriptor
* pass input wrappers to `initCUDA()`
* add 1d/2d/3d-convolution
* add pooling layer
* reorganize and refactor code
* fixes for gcc, clang and doxygen; remove cxx14/17 code
* add blank_layer
* add LRN layer
* add rounding modes for pooling layer
* split tensor.hpp into tensor.hpp and tensor_ops.hpp
* add concat layer
* add scale layer
* add batch normalization layer
* split math.cu into activations.cu and math.hpp
* add eltwise layer
* add flatten layer
* add tensor transform api
* add asymmetric padding support for convolution layer
* add reshape layer
* fix rebase issues
* add permute layer
* add padding support for concat layer
* refactor and reorganize code
* add normalize layer
* optimize bias addition in scale layer
* add prior box layer
* fix and optimize normalize layer
* add asymmetric padding support for pooling layer
* add event API
* improve pooling performance for some padding scenarios
* avoid over-allocation of compute resources to kernels
* improve prior box performance
* enable layer fusion
* add const layer
* add resize layer
* add slice layer
* add padding layer
* add deconvolution layer
* fix channelwise ReLU initialization
* add vector traits
* add vectorized versions of relu, clipped_relu, power
* add vectorized concat kernels
* improve concat_with_offsets performance
* vectorize scale and bias kernels
* add support for multi-billion element tensors
* vectorize prior box kernels
* fix address alignment check
* improve bias addition performance of conv/deconv/fc layers
* restructure code for supporting multiple targets
* add DNN_TARGET_CUDA_FP64
* add DNN_TARGET_FP16
* improve vectorization
* add region layer
* improve tensor API, add dynamic ranks
1. use ManagedPtr instead of a Tensor in backend wrapper
2. add new methods to tensor classes
- size_range: computes the combined size of for a given axis range
- tensor span/view can be constructed from a raw pointer and shape
3. the tensor classes can change their rank at runtime (previously rank was fixed at compile-time)
4. remove device code from tensor classes (as they are unused)
5. enforce strict conditions on tensor class APIs to improve debugging ability
* fix parametric relu activation
* add squeeze/unsqueeze tensor API
* add reorg layer
* optimize permute and enable 2d permute
* enable 1d and 2d slice
* add split layer
* add shuffle channel layer
* allow tensors of different ranks in reshape primitive
* patch SliceOp to allow Crop Layer
* allow extra shape inputs in reshape layer
* use `std::move_backward` instead of `std::move` for insert in resizable_static_array
* improve workspace management
* add spatial LRN
* add nms (cpu) to region layer
* add max pooling with argmax ( and a fix to limits.hpp)
* add max unpooling layer
* rename DNN_TARGET_CUDA_FP32 to DNN_TARGET_CUDA
* update supportBackend to be more rigorous
* remove stray include from preventing non-cuda build
* include op_cuda.hpp outside condition #if
* refactoring, fixes and many optimizations
* drop DNN_TARGET_CUDA_FP64
* fix gcc errors
* increase max. tensor rank limit to six
* add Interp layer
* drop custom layers; use BackendNode
* vectorize activation kernels
* fixes for gcc
* remove wrong assertion
* fix broken assertion in unpooling primitive
* fix build errors in non-CUDA build
* completely remove workspace from public API
* fix permute layer
* enable accuracy and perf. tests for DNN_TARGET_CUDA
* add asynchronous forward
* vectorize eltwise ops
* vectorize fill kernel
* fixes for gcc
* remove CSL headers from public API
* remove csl header source group from cmake
* update min. cudnn version in cmake
* add numerically stable FP32 log1pexp
* refactor code
* add FP16 specialization to cudnn based tensor addition
* vectorize scale1 and bias1 + minor refactoring
* fix doxygen build
* fix invalid alignment assertion
* clear backend wrappers before allocateLayers
* ignore memory lock failures
* do not allocate internal blobs
* integrate NVTX
* add numerically stable half precision log1pexp
* fix indentation, following coding style, improve docs
* remove accidental modification of IE code
* Revert "add asynchronous forward"
This reverts commit 1154b9da9da07e9b52f8a81bdcea48cf31c56f70.
* [cmake] throw error for unsupported CC versions
* fix rebase issues
* add more docs, refactor code, fix bugs
* minor refactoring and fixes
* resolve warnings/errors from clang
* remove haveCUDA() checks from supportBackend()
* remove NVTX integration
* changes based on review comments
* avoid exception when no CUDA device is present
* add color code for CUDA in Net::dump
5 years ago
Alexander Alekhin
fd11e3a81d
dnn: update IE tests
5 years ago
Dmitry Kurtaev
b8d4664e6e
Fix OpenVINO 2019R1 compilation
5 years ago
Dmitry Kurtaev
0428f60d66
Fix OpenVINO 2019R1 compilation
5 years ago
Dmitry Kurtaev
ba703157cf
Merge pull request #15063 from dkurt:dnn_ie_ocv_layers
...
* Wrap unsupported by IE layers as custom layers
* Replace pointers to layers blobs to their shapes
* Enable Faster R-CNN with IE backend on CPU
5 years ago
Dmitry Kurtaev
57676cf64d
Fix https://github.com/opencv/opencv/issues/15141
5 years ago
Dmitry Kurtaev
e4a80aee09
Fix #15296
5 years ago