Skip to content

dnn: fix processing of input shapes - #16616

Merged
alalek merged 2 commits into
opencv:3.4from
alalek:dnn_fix_input_shape
Feb 21, 2020
Merged

alalek merged 2 commits into
opencv:3.4from
alalek:dnn_fix_input_shape

Conversation

@alalek

@alalek alalek commented Feb 18, 2020 •

Copy link
Copy Markdown
Member

resolves #16618

force_builders=Custom,Custom Win,Custom Mac
build_image:Custom=ubuntu-openvino-2020.1.0:16.04
build_image:Custom Win=openvino-2020.1.0
build_image:Custom Mac=openvino-2020.1.0

test_modules:Custom=dnn,python2,python3,java
test_modules:Custom Win=dnn,python2,python3,java
test_modules:Custom Mac=dnn,python2,python3,java

buildworker:Custom=linux-1
# disabled due high memory usage: test_opencl:Custom=ON
test_opencl:Custom=OFF
test_bigdata:Custom=1
test_filter:Custom=*

@dkurt

dkurt commented Feb 20, 2020

Copy link
Copy Markdown
Member

@alalek, I think that it's better to experiment with this feature on master branch. Because it's actually used there and we decided to backport to 3.4 branch just to make it easier for merging.

Comment thread modules/dnn/test/test_misc.cpp Resolved
- importer: avoid using of .setInput() => .setInputShape()
- setInput: shape limitation check (partial)

@dkurt dkurt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks!

Comment thread modules/dnn/test/test_misc.cpp Resolved
@alalek
alalek merged commit 01048e5 into opencv:3.4 Feb 21, 2020
@alalek alalek mentioned this pull request Feb 26, 2020
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
* dnn: fix processing of input shapes

- importer: avoid using of .setInput() => .setInputShape()
- setInput: shape limitation check (partial)

* dnn(test): test .setInput() in readNet()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants