-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cv2.error when using demo.py #3
Comments
You have to re-build the openCV3.4 with python3.6 by yourself. for example, (sorry Japanese) |
Thank you for your example.I have solved this problem.But there's another one.Do you know how to solve it? MODEL: generator, N_OUT: 17, N_UNIT: 1024 During handling of the above exception, another exception occurred: Traceback (most recent call last): |
How did you solve the previous problem? |
@singhketan @yenanfei you can also install OpenCV 3.4 for Python 3.6 from a pip wheel: https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv |
When I run demo.py I met this error.Can you give me some advices to deal with it?
python3 bin/demo.py test.jpg --lift_model sample/gen_epoch_500.npz --model pose_iter_440000.caffemodel --proto2d openpose_pose_coco.prototxt
MODEL: generator, N_OUT: 17, N_UNIT: 1024
[mjpeg @ 0x55f4839aa660] mjpeg: invalid TIFF header in EXIF data
[mjpeg @ 0x55f4839aa220] mjpeg: invalid TIFF header in EXIF data
[ 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 "bin/demo.py", line 201, in
main(args)
File "bin/demo.py", line 163, in main
points = OpenPose(args).predict(args, frame)
File "bin/demo.py", line 122, in predict
out = self.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
The text was updated successfully, but these errors were encountered: