Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Python openpose sample from openCV dnn does not run

I have installed opencv-master from scratch, got the openpose model and prototext according to an answer to another question here, used the command line:

python openpose.py --model pose_iter_440000.caffemodel --proto openpose_pose_coco.prototxt --dataset COCO --width 300 --height 300

and got:

[ INFO:0] Initialize OpenCL runtime...

OpenCV Error: Assertion failed (output_slice.isContinuous() && output_slice.size == curr_output.size) in fuseLayers, file /io/opencv/modules/dnn/src/dnn.cpp, line 1430 Traceback (most recent call last): File "openpose.py", line 68, in <module> out = net.forward() cv2.error: /io/opencv/modules/dnn/src/dnn.cpp:1430: error: (-215) output_slice.isContinuous() && output_slice.size == curr_output.size in function fuseLayers

What am I doing wrong?

Python openpose sample from openCV dnn does not run

I have installed opencv-master from scratch, got the openpose model and prototext according to an answer to another question here, used the command line:

python openpose.py --model pose_iter_440000.caffemodel --proto openpose_pose_coco.prototxt --dataset COCO --width 300 --height 300

and got:

 [ INFO:0] Initialize OpenCL runtime...

OpenCV Error: Assertion failed (output_slice.isContinuous() && output_slice.size == curr_output.size) in fuseLayers, file /io/opencv/modules/dnn/src/dnn.cpp, line 1430 Traceback (most recent call last): File "openpose.py", line 68, in <module> out = net.forward() cv2.error: /io/opencv/modules/dnn/src/dnn.cpp:1430: error: (-215) output_slice.isContinuous() && output_slice.size == curr_output.size in function fuseLayers

fuseLayers

What am I doing wrong?

click to hide/show revision 3
retagged

updated 2018-04-27 07:40:01 -0600

berak gravatar image

Python openpose sample from openCV dnn does not run

I have installed opencv-master from scratch, got the openpose model and prototext according to an answer to another question here, used the command line:

python openpose.py --model pose_iter_440000.caffemodel --proto openpose_pose_coco.prototxt --dataset COCO --width 300 --height 300

and got:

    [ INFO:0] Initialize OpenCL runtime...
OpenCV Error: Assertion failed (output_slice.isContinuous() && output_slice.size == curr_output.size) in fuseLayers, file /io/opencv/modules/dnn/src/dnn.cpp, line 1430
Traceback (most recent call last):
  File "openpose.py", line 68, in <module>
    out = net.forward()
cv2.error: /io/opencv/modules/dnn/src/dnn.cpp:1430: error: (-215) output_slice.isContinuous() && output_slice.size == curr_output.size in function fuseLayers

What am I doing wrong?

click to hide/show revision 4
retagged

updated 2018-04-27 07:40:00 -0600

berak gravatar image

Python openpose sample from openCV dnn does not run

I have installed opencv-master from scratch, got the openpose model and prototext according to an answer to another question here, used the command line:

python openpose.py --model pose_iter_440000.caffemodel --proto openpose_pose_coco.prototxt --dataset COCO --width 300 --height 300

and got:

    [ INFO:0] Initialize OpenCL runtime...
OpenCV Error: Assertion failed (output_slice.isContinuous() && output_slice.size == curr_output.size) in fuseLayers, file /io/opencv/modules/dnn/src/dnn.cpp, line 1430
Traceback (most recent call last):
  File "openpose.py", line 68, in <module>
    out = net.forward()
cv2.error: /io/opencv/modules/dnn/src/dnn.cpp:1430: error: (-215) output_slice.isContinuous() && output_slice.size == curr_output.size in function fuseLayers

What am I doing wrong?