Skip to content

Test create custom layer in python - #15988

Merged
alalek merged 10 commits into
opencv:3.4from
l-bat:custom_layer
Dec 6, 2019
Merged

alalek merged 10 commits into
opencv:3.4from
l-bat:custom_layer

Conversation

@l-bat

@l-bat l-bat commented Nov 25, 2019

Copy link
Copy Markdown
Contributor
force_builders=Custom,Custom Win,Custom Mac
build_image:Custom=ubuntu-openvino-2019r3.0:16.04
build_image:Custom Win=openvino-2019r3.0
build_image:Custom Mac=openvino-2019r3.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
test_opencl:Custom=OFF
test_bigdata:Custom=1
test_filter:Custom=*

@l-bat l-bat added this to the 3.4.9 milestone Nov 25, 2019
Comment thread modules/python/src2/cv2.cpp Resolved

@alalek alalek 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.

Please add checks that custom code from your class is really called.

What DNN backends should be tested here? (default is IE in builds with IE)

How to unregister layer? What is lifetime of callbacks?

@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!

@dkurt dkurt self-assigned this Dec 6, 2019
@alalek
alalek merged commit 629d47f into opencv:3.4 Dec 6, 2019
@alalek alalek mentioned this pull request Dec 11, 2019
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Test create custom layer in python

* check is contiguos

* Add custom layer test

* Fix test

* Remove assert

* Move assert to pyopencv dnn

* remove assert

* Add unregister

* Fix python2

* proto to bytearray

* Fix data type
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.

3 participants