Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
5dc60609
Commit
5dc60609
authored
6 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
parents
14843679
d4a96b69
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
convolution_layer.cpp
modules/dnn/src/layers/convolution_layer.cpp
+1
-1
tf_importer.cpp
modules/dnn/src/tensorflow/tf_importer.cpp
+1
-1
test_ie_models.cpp
modules/dnn/test/test_ie_models.cpp
+2
-1
No files found.
modules/dnn/src/layers/convolution_layer.cpp
View file @
5dc60609
...
...
@@ -676,7 +676,7 @@ public:
int
inpCnAll
=
input
.
size
[
1
],
width
=
input
.
size
[
3
],
height
=
input
.
size
[
2
];
int
inpCn
=
inpCnAll
/
ngroups
;
p
.
is1x1_
=
kernel
==
Size
(
0
,
0
)
&&
pad
==
Size
(
0
,
0
);
p
.
is1x1_
=
kernel
==
Size
(
1
,
1
)
&&
pad
==
Size
(
0
,
0
);
p
.
useAVX
=
checkHardwareSupport
(
CPU_AVX
);
p
.
useAVX2
=
checkHardwareSupport
(
CPU_AVX2
);
p
.
useAVX512
=
CV_CPU_HAS_SUPPORT_AVX512_SKX
;
...
...
This diff is collapsed.
Click to expand it.
modules/dnn/src/tensorflow/tf_importer.cpp
View file @
5dc60609
...
...
@@ -942,7 +942,7 @@ void TFImporter::populateNet(Net dstNet)
if
(
getDataLayout
(
name
,
data_layouts
)
==
DATA_LAYOUT_UNKNOWN
)
data_layouts
[
name
]
=
DATA_LAYOUT_NHWC
;
}
else
if
(
type
==
"BiasAdd"
||
type
==
"Add"
||
type
==
"Sub"
)
else
if
(
type
==
"BiasAdd"
||
type
==
"Add"
||
type
==
"Sub"
||
type
==
"AddN"
)
{
bool
haveConst
=
false
;
for
(
int
ii
=
0
;
!
haveConst
&&
ii
<
layer
.
input_size
();
++
ii
)
...
...
This diff is collapsed.
Click to expand it.
modules/dnn/test/test_ie_models.cpp
View file @
5dc60609
...
...
@@ -178,10 +178,11 @@ TEST_P(DNNTestOpenVINO, models)
Target
target
=
(
dnn
::
Target
)(
int
)
get
<
0
>
(
GetParam
());
std
::
string
modelName
=
get
<
1
>
(
GetParam
());
std
::
string
precision
=
(
target
==
DNN_TARGET_OPENCL_FP16
||
target
==
DNN_TARGET_MYRIAD
)
?
"FP16"
:
"FP32"
;
std
::
string
prefix
;
#ifdef INF_ENGINE_RELEASE
#if INF_ENGINE_RELEASE <= 2018050000
std
::
string
prefix
=
utils
::
fs
::
join
(
"intel_models"
,
prefix
=
utils
::
fs
::
join
(
"intel_models"
,
utils
::
fs
::
join
(
modelName
,
utils
::
fs
::
join
(
precision
,
modelName
)));
#endif
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment