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
c8f3579f
Commit
c8f3579f
authored
Sep 26, 2018
by
Dmitry Kurtaev
Committed by
Vadim Pisarevsky
Sep 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #12542 (#12603)
* Fix #12542 * Remove ignore of non-virtual-dtor error
parent
43e66e7f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
modules/dnn/CMakeLists.txt
+0
-1
onnx_importer.cpp
modules/dnn/src/onnx/onnx_importer.cpp
+1
-1
tf_graph_simplifier.cpp
modules/dnn/src/tensorflow/tf_graph_simplifier.cpp
+2
-0
No files found.
modules/dnn/CMakeLists.txt
View file @
c8f3579f
...
...
@@ -36,7 +36,6 @@ else()
-Wunused-parameter -Wunused-local-typedefs -Wsign-compare -Wsign-promo
-Wundef -Wtautological-undefined-compare -Wignored-qualifiers -Wextra
-Wunused-function -Wunused-const-variable -Wdeprecated-declarations
-Werror=non-virtual-dtor
)
endif
()
...
...
modules/dnn/src/onnx/onnx_importer.cpp
View file @
c8f3579f
...
...
@@ -213,7 +213,7 @@ LayerParams ONNXImporter::getLayerParams(const opencv_onnx::NodeProto& node_prot
else
if
(
attribute_proto
.
floats_size
()
>
0
)
{
lp
.
set
(
attribute_name
,
DictValue
::
arrayReal
(
(
float
*
)
attribute_proto
.
mutable_floats
(),
attribute_proto
.
floats_size
()));
attribute_proto
.
floats
().
data
(),
attribute_proto
.
floats_size
()));
}
else
if
(
attribute_proto
.
ints_size
()
>
0
)
{
...
...
modules/dnn/src/tensorflow/tf_graph_simplifier.cpp
View file @
c8f3579f
...
...
@@ -20,6 +20,8 @@ using ::google::protobuf::MapPair;
class
Subgraph
// Interface to match and replace TensorFlow subgraphs.
{
public
:
virtual
~
Subgraph
()
{}
// Add a node to be matched in the origin graph. Specify ids of nodes that
// are expected to be inputs. Returns id of a newly added node.
// TODO: Replace inputs to std::vector<int> in C++11
...
...
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