Alexander Alekhin
74cf48b5d7
dnn(test): use Backend/Target enums
...
instead of 'int'
6 years ago
Alexander Alekhin
45b5b3c13a
dnn: check layer output for NaN/Inf
6 years ago
Maksim Shabunin
cbb1e867e5
More issues found by static analysis
6 years ago
Alexander Alekhin
4283309daa
dnn: update tests for OpenVINO models
6 years ago
Dmitry Kurtaev
28e08ae0bd
Add a sample which tests OpenVINO models
6 years ago
Maksim Shabunin
e0603bb45f
Fixed several issues found by static analysis tools
6 years ago
Alexander Alekhin
ee743afebe
dnn(ocl): don't use getUMat() for long live objects
6 years ago
Maksim Shabunin
a4060e15a4
dnn, IE backend: updated to match new interface
6 years ago
Dmitry Kurtaev
c213a3823e
Run entire SSDs from TensorFlow using Intel's Inference Engine
6 years ago
Dmitry Kurtaev
070393dfda
uint8 inputs for deep learning networks
6 years ago
Maksim Shabunin
1da46fe6fb
Fixed issues found by static analysis (mostly DBZ)
6 years ago
Li Peng
f0cadaa6e3
enable concat layer fuse for OCL target
...
Signed-off-by: Li Peng <peng.li@intel.com>
6 years ago
Dmitry Kurtaev
6eb8faea85
Enable TensorFlow networks tests for different backends and targets
6 years ago
Dmitry Kurtaev
de6f0a537d
Fix fully-connected layer in case of number of rows less than 4
6 years ago
Dmitry Kurtaev
dcc1beb1f8
Clip kernel for OpenCL PriorBox layer
6 years ago
Alexander Alekhin
2508f7f971
dnn(ocl): fix wrong usage of stalled .getMat() pointers
...
Temporary object lifetime must be greater than pointer usage.
6 years ago
Dmitry Kurtaev
8b5f061dae
Replace std::vector<char> to std::vector<uchar> for Java bindings of dnn importers
6 years ago
Li Peng
4c5a86828a
Fix gemmlike convolution input reading
...
use vload3 for half3 or float3 input vector reading,
also check read position to see if it exceed input width
Signed-off-by: Li Peng <peng.li@intel.com>
6 years ago
berak
a7b502f04a
dnn: preserve name, type strings for ShuffleLayer
6 years ago
Alexander Alekhin
452fa3011c
dnn(test): drop CV_ENUM for DNNBackend / DNNTarget
6 years ago
Dmitry Kurtaev
d57e5406f0
Add readNet* functions which parse models from byte arrays
6 years ago
Alexander Alekhin
b6255ab9e7
dnn(ocl4dnn): fix args for 'max_pool_forward' kernel
6 years ago
Alexander Alekhin
e2b5d11290
dnn: allow to use external protobuf
...
"custom layers" feature will not work properly in these builds.
6 years ago
Alexander Alekhin
52b151dceb
dnn(test): use checkMyriadTarget() in Test_Caffe_layers.Conv_Elu test
6 years ago
Dmitry Kurtaev
362d4f5395
Replace convertFp16 from dnn::Net::setInput()
6 years ago
asciian
61d8719b8d
Reading net from std::ifstream
...
Remove some assertions
Replace std::ifstream to std::istream
Add test for new importer
Remove constructor to load file
Rename cfgStream and darknetModelStream to ifile
Add error notification to inform pathname to user
Use FileStorage instead of std::istream
Use FileNode instead of FileStorage
Fix typo
6 years ago
Dmitry Kurtaev
019c2f2115
Enable more deep learning tests
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
6 years ago
Dmitry Kurtaev
f25a01bb5a
Disable fusion to output layers
6 years ago
Dmitry Kurtaev
36288eebe7
Nearest neighbor resize from Keras
6 years ago
Dmitry Kurtaev
7ed5d85f25
Add Reshape layer tests
6 years ago
Li Peng
145eae321e
pooling ocl kernel optimization
...
set global size with real output size, also optimize
max pooling index computation if necessary.
Signed-off-by: Li Peng <peng.li@intel.com>
6 years ago
Dmitry Kurtaev
d971678add
Add a planar data layout tracking for TensorFlow importer
6 years ago
Dmitry Kurtaev
346871e27f
Set output layers names and types for models in DLDT's intermediate representation
6 years ago
Dmitry Kurtaev
dbeb4a11be
Parse strides and convolution kernel shapes considering data layout
6 years ago
Dmitry Kurtaev
b11e22c25b
Update Inference Engine tests
6 years ago
Dmitry Kurtaev
9510551c63
Multiple inputs for TensorFlow models
6 years ago
Vadim Pisarevsky
dc27d52221
temporarily disabled OpenCL use in DNN module on Mac ( #11828 )
...
* temporarily disabled OpenCL use in DNN module on Mac, since some of the tests fail
* disable OpenCL in DNN on Mac at CMake level, not source level (thanks to alalek for the advice)
6 years ago
Dmitry Kurtaev
715f40a48d
Use layers consumers to predict data layout
6 years ago
Li, Peng
ab8022f74e
update convolution opencl kernels in dnn module ( #11762 )
...
* optimize ocl kernel enqueue in fc layer
Signed-off-by: Li Peng <peng.li@intel.com>
* use CV_LOG_INFO in convolution auto tuning
Signed-off-by: Li Peng <peng.li@intel.com>
* update convolution IDLF kernel
extend parameter tuning range, also cleanup
ocl kernel implementation
Signed-off-by: Li Peng <peng.li@intel.com>
* update in-memory convolution cache config
fp16 and fp32 cache config are stored separately
Signed-off-by: Li Peng <peng.li@intel.com>
6 years ago
Dmitry Kurtaev
e8e9d1d021
Implement Interp layer using Resize layer
6 years ago
Alexander Alekhin
50c607d206
dnn(ocl): fix external / predefined builtin configuration behavior
...
OPENCV_OCL4DNN_FORCE_AUTO_TUNING should ignore existed configuration from:
- builtin predefined configurations (for Intel OpenCL iGPUs)
- external configuration (via OPENCV_OCL4DNN_CONFIG_PATH)
Prefer external configuration over builtin.
7 years ago
Dmitry Kurtaev
4626246087
Add ShuffleChannel layer
7 years ago
Dmitry Kurtaev
40b85c1cd9
Remove undocumented feature to retreive layers outputs by indices
7 years ago
Dmitry Kurtaev
bd87eb6e66
Import average pooling and softmax layers from Darknet
7 years ago
Dmitry Kurtaev
693a7663e7
Import ClipByValue from Keras
7 years ago
Alexander Alekhin
5fd7cfbcad
dnn: add runtime parameter OPENCV_DNN_BACKEND_DEFAULT
...
to control DNN_BACKEND_DEFAULT enumeration value behavior
7 years ago
Alexander Alekhin
ab11b17d4b
experimental version++
7 years ago
Dmitry Kurtaev
7d727ac2fb
Fuse top layers to batch normalization
7 years ago
Dmitry Kurtaev
2c291bc2fb
Enable FastNeuralStyle and OpenFace networks with IE backend
7 years ago