cv2.error Failed to call "forward" method in function 'forward'

asked 2019-01-02 05:21:38 -0600

ashu gravatar image

I'm trying to use this code - https://github.com/opencv/opencv/blob....

But when i run I get this error -

Traceback (most recent call last): File "edge_detector.py", line 55, in <module> out = net.forward()

cv2.error: OpenCV(3.4.5) /Users/travis/build/skvark/opencv-python/opencv/modules/dnn/misc/python/pyopencv_dnn.hpp:163: error: (-213:The function/feature is not implemented) Failed to call "forward" method in function 'forward'

I tried with all the recent opencv-python versions (from 3.4.1), it didn't work with any one of them.

edit retag flag offensive close merge delete

Comments

i'm getting the same error with 3.4.3 (on colab),

but i think, the actual error msg is misleading. the function IS implemented, just calling the python's CropLayer.forward() failed for some reason.

the forward() method even gets called (i added a print()), it just does not seem to return anything valid

berak gravatar imageberak ( 2019-01-04 03:13:25 -0600 )edit