human-pose-estimation-0004 architecture openpose does not run
See original GitHub issueThe new human-pose-estimation-000(2-4) models do not work when architecture is set to openpose. They run when architecture is set to associative embedding, but the accuracy is very poor - much worse than the human-pose-estimation-0001 model. Given that they have a higher mAP, I think there must be some bug here.
When I run the demo with python human_pose_estimation.py -i video.avi -m human-pose-estimation-0004.xml -d CPU -at openpose
, I get the following error:
Traceback (most recent call last):
File "human_pose_estimation.py", line 285, in <module>
sys.exit(main() or 0)
File "human_pose_estimation.py", line 185, in main
poses, scores = hpes[mode].postprocess(raw_outputs, frame_meta)
File "/home/walt/workspace/libs/open_model_zoo/demos/python_demos/human_pose_estimation_demo/human_pose_estimation_demo/model.py", line 209, in postprocess
poses, scores = self.decoder(heatmaps, nms_heatmaps, pafs)
File "/home/walt/workspace/libs/open_model_zoo/demos/python_demos/human_pose_estimation_demo/human_pose_estimation_demo/decoder_openpose.py", line 49, in __call__
pafs = np.transpose(pafs, (0, 2, 3, 1))
File "<__array_function__ internals>", line 5, in transpose
File "/home/walt/.local/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 650, in transpose
return _wrapfunc(a, 'transpose', axes)
File "/home/walt/.local/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 61, in _wrapfunc
return bound(*args, **kwds)
ValueError: axes don't match array
If I manually set the input height to 368 : python human_pose_estimation.py -i video.avi -m human-pose-estimation-0004.xml -d CPU -at openpose --tsize 368
I get the following error:
Traceback (most recent call last):
File "human_pose_estimation.py", line 285, in <module>
sys.exit(main() or 0)
File "human_pose_estimation.py", line 259, in main
hpes[mode](frame, next_frame_id, {'frame': frame, 'start_time': start_time})
File "/home/walt/workspace/libs/open_model_zoo/demos/python_demos/human_pose_estimation_demo/human_pose_estimation_demo/model.py", line 134, in __call__
self.reshape_net(inputs)
File "/home/walt/workspace/libs/open_model_zoo/demos/python_demos/human_pose_estimation_demo/human_pose_estimation_demo/model.py", line 71, in reshape_net
self.net.reshape(input_shapes)
File "ie_api.pyx", line 1437, in openvino.inference_engine.ie_api.IENetwork.reshape
RuntimeError: Check 'PartialShape::broadcast_merge_into( pshape, node->get_input_partial_shape(i), autob)' failed at ngraph/core/src/op/util/elementwise_args.cpp:49:
While validating node 'v1::Add 2056 (2023[0]:f32{1,21,92,164}, 2055/Interpolate[0]:f32{1,21,96,168}) -> (f32{?,21,92,164})' with friendly_name '2056':
Argument shapes are inconsistent.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
OpenPose: Whole-Body Pose Estimation
Unlike the original. OpenPose, our new method does not need to run an additional network for each hand and face candidate, making it...
Read more >ModuleNotFoundError: No module named 'models' .etc
But when I run it in my RaspberryPi, there many errors like: No module named 'models', 'monitors', 'images_capture'.etc. And I can not find ......
Read more >OpenPose : Human Pose Estimation Method - GeeksforGeeks
Architecture : In first step the image is passed through baseline CNN network to extract the feature maps of the input In the ......
Read more >OpenPose: Realtime Multi-Person 2D Pose Estimation using ...
We show that the combined detector not only reduces the inference time compared to running them sequentially, but also maintains the accuracy of...
Read more >OpenPose Doc - Frequently Asked Questions (FAQ)
(Only if you are compiling OpenPose by yourself, this does not apply to ... Q: When I start OpenPose, I receive a runtime...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@renziver Thanks for bringing this up.
A few notes on this:
@renziver, yes we have plans to release the training code for this kind of models.