Skip to content

Determine SSD input shape#17281

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
l-bat:ssd_placeholder_shape
May 14, 2020
Merged

Determine SSD input shape#17281
opencv-pushbot merged 1 commit intoopencv:3.4from
l-bat:ssd_placeholder_shape

Conversation

@l-bat
Copy link
Copy Markdown
Contributor

@l-bat l-bat commented May 13, 2020

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under OpenCV (BSD) License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@l-bat l-bat added this to the 3.4.11 milestone May 13, 2020

# Connect input node to the first layer
assert(graph_def.node[0].op == 'Placeholder')
input_shape = graph_def.node[0].attr['shape']['shape'][0]['dim']
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.

Is that possible that model does not have such field? In example, after optimize_for_inference_lib or TransformGraph?

@l-bat l-bat force-pushed the ssd_placeholder_shape branch from 47cf18f to c5a2d28 Compare May 14, 2020 05:16
@dkurt dkurt self-assigned this May 14, 2020
@opencv-pushbot opencv-pushbot merged commit 6ced54a into opencv:3.4 May 14, 2020
@alalek alalek mentioned this pull request May 18, 2020
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.

eltwise_layer.cpp:209: error: (-215:Assertion failed) inputs[0][j] == inputs[i][j] in function 'getMemoryShapes'

3 participants