Alexander Alekhin
9db5cbf9a4
dnn: sync output/internals blobs back
7 years ago
Alexander Alekhin
0f34628af7
dnn: drop OpenCL code path for DetectionOutputLayer
...
getUMat()/getMat() calls are scope based. Results of these calls can't be
stored somewhere for future usage.
7 years ago
Alexander Alekhin
f19f2bbcde
dnn: autogenerated files
...
rename caffe.proto => opencv-caffe.proto
7 years ago
Alexander Alekhin
f6d927ef3b
dnn: avoid conflicts with original caffe.proto
...
rename caffe.proto => opencv-caffe.proto
7 years ago
David Geldreich
f723cede2e
add loading TensorFlow/Caffe net from memory buffer
...
add a corresponding test
7 years ago
Dmitry Kurtaev
6c5dd5cf6d
Replace caffe::NormalizedBBox to local structure
7 years ago
Wu Zhiwen
45d11dde57
dnn(ocl4dnn): add fusion support for Power activation and eltwise add
...
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
7 years ago
Wu Zhiwen
394101d6ed
dnn(ocl4dnn): Fix relu fusion bug
...
Incorrect type of negative_slope result in this bug.
Also and OCL test for darknet to validate this patch.
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
7 years ago
Jcrist99
0608227e10
Merge pull request #9698 from abratchik:parse.doxygen
...
Support @deprecated tag in java wrappers (#9698 )
7 years ago
Wu Zhiwen
88e6daa315
dnn(ocl4dnn): Fix wrong measurement for tuning time
...
convolution kernel use default queue to run, so that ocl::Timer
, to measure the kernel run time, should use the default queue too.
Also remove useless parameter for convolve()
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
7 years ago
Hamdi Sahloul
06bda58a2c
DNN Torch - workaround when torch importer is disabled
7 years ago
Li Peng
8f99083726
Add new layer forward interface
...
Add layer forward interface with InputArrayOfArrays and
OutputArrayOfArrays parameters, it allows UMat buffer to be
processed and transferred in the layers.
Signed-off-by: Li Peng <peng.li@intel.com>
7 years ago
Alexander Alekhin
97181a90ba
dnn(ocl4dnn/conv): bailout on missing kernel configuration
7 years ago
Alexander Alekhin
bacc96f4e8
dnn(ocl): fix softmax global/local size consistency
7 years ago
Dmitry Kurtaev
14af2a0c0c
Fixed Halide's copy_to_device invocation
7 years ago
Dmitry Kurtaev
e1ebc4e991
Specify layer types for Caffe FP32->FP16 weights converter
7 years ago
Dmitry Kurtaev
03cefa7bfe
Set zero confidences in case of no detections
7 years ago
Dmitry Kurtaev
4b52b8df34
Layers for fast-neural-style models: https://github.com/jcjohnson/fast-neural-style
7 years ago
Vladislav Sovrasov
5bf39ceb5d
dnn: handle 4-channel images in blobFromImage ( #9944 )
7 years ago
Alexander Alekhin
436a1f72a5
dnn: fix sporadic crashes in getUMat()
...
Incorrect "total" buffer size calculated in StdMatAllocator::allocate() due wrong step values.
7 years ago
Vladislav Sovrasov
7e3e9144de
dnn: add an accuracy test for NMS
7 years ago
Vladislav Sovrasov
c704942b8a
dnn: add a documentation for NMS, fix missing experimantal namespace
7 years ago
Vladislav Sovrasov
acedb4a579
dnn: make NMS function public
7 years ago
Dmitry Kurtaev
a36ebaecdc
PReLU layer for multidimensional input
7 years ago
Dmitry Kurtaev
410d44d67d
Binary data for batch normalization test from Torch
7 years ago
Alexander Alekhin
185faf99bd
ocl: simplify ocl::Timer interface
7 years ago
Dmitry Kurtaev
b903ff8992
Ceil mode from experimental version of Caffe, https://github.com/BVLC/caffe/pull/3057
7 years ago
Dmitry Kurtaev
a3a446c197
Output blobs shapes initialization in case of identity permutation (NCHW->NCHW)
7 years ago
Wu Zhiwen
2d8f2c2aea
dnn(ocl4dnn): add fusion support
...
ocl4dnn supports following fusion styles:
Conv + [BN] + [Scale] + [ReLU/PReLU]
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
7 years ago
Maksim Shabunin
b066dd36ff
Fixed uninitialized class fields
7 years ago
catree
22dece8146
Fix DNN samples for compatibility with Python 3.
...
Add PyInt_Check in pyopencv_dnn.hpp.
7 years ago
Igor Wodiany
e2499e5b2f
Move vector_size_t and vector_vector_Mat
...
These two typdefs are not compiled when BUILD_opencv_dnn is set to
false, however there are other modules that uses these typedef so
it may cause build errors. Moving typedef to the python module
ensures they are always defined.
7 years ago
Alexander Alekhin
4857cae6ed
dnn: don't use "experimental_dnn_v1" namespace directly
7 years ago
Li Peng
937b8e4277
dnn(ocl4dnn): support log softmax in ocl4dnn
...
Signed-off-by: Li Peng <peng.li@intel.com>
7 years ago
Vladislav Sovrasov
47e1133e71
dnn: add crop flag to blobFromImage
7 years ago
Vladislav Sovrasov
f7175f5050
dnn: fix additional text boxes handling after the latest adaptations for TF
7 years ago
Vladislav Sovrasov
050916fd6b
dnn: modify priorBox layer
7 years ago
Dmitry Kurtaev
905a9dada2
Removed LPNormalize layer.
7 years ago
Alexander Alekhin
3935e13603
dnn(halide): don't compile Halide via parallel_for_()
...
To avoid problem with reduced stack size of inner threads.
7 years ago
Alexander Alekhin
949ec486c5
experimental version++
7 years ago
AlexeyAB
ecc34dc521
Added DNN Darknet Yolo v2 for object detection
7 years ago
Dmitry Kurtaev
eabf728682
PReLU layer from Caffe
7 years ago
Maksim Shabunin
5a22d81fe5
Fixed warnings produced by static analyzer
7 years ago
Wu Zhiwen
dbe9ee0924
ocl: simplify ocl::Timer
...
Use clFinish to gurantee commands completed, instead of waiting for events.
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
7 years ago
Alexander Alekhin
e615fafe2d
build: fix MSVS2010
7 years ago
Dmitry Kurtaev
e4aa39f9e5
Text TensorFlow graphs parsing. MobileNet-SSD for 90 classes.
7 years ago
Dmitry Kurtaev
b9f94c9315
Nearest neighbor resize layer
7 years ago
Dmitry Kurtaev
e268606e26
Grayscale colorization model ( https://github.com/richzhang/colorization ) test.
7 years ago
Dmitry Kurtaev
ad8bbaf008
Multidimensional eltwise layer.
...
Fixed fully-connected layer axis.
7 years ago
Dmitry Kurtaev
2a21c10837
Fix TensorFlow split layer
7 years ago