openpose icon indicating copy to clipboard operation
openpose copied to clipboard

version":1.3,"people":[]

Open sanazsab opened this issue 3 years ago • 9 comments

Posting rules

  1. No duplicated posts, only 1 new post opened a day, and up to 2 opened a week. Otherwise, extrict user bans will occur.
    • Check the FAQ section, other GitHub issues, and general documentation before posting. E.g., low-speed, out-of-memory, output format, 0-people detected, installation issues, ...).
    • Keep posting all your issues in the same post.
    • No bans if you are unsure whether the post is duplicated!
  2. Fill all the Your System Configuration section if you are facing an error or unexpected behavior. Some posts (e.g., feature requests) might not require it.
  3. No questions about training or 3rd party libraries:
    • OpenPose only implements testing. For training, check OpenPose train.
    • Caffe errors/issues: Check Caffe documentation.
    • CUDA/cuDNN check failed errors: They are usually fixed by re-installing CUDA, then re-installing the proper cuDNN version, then rebooting, and then re-installing OpenPose. Otherwise, check Nvidia/CUDA/cuDNN forums.
    • OpenCV errors: Install the default/pre-compiled OpenCV or check for OpenCV online help.
  4. Set a proper issue title: Add the OS (Ubuntu, Windows) and be specific (e.g., do not call it: Error).
  5. Only English comments.
  6. Remove these posting rules from your post but follow them! Posts which do not follow these rules will be ignored/deleted and those users banned with no further clarification.

OpenPose demo successfully finished. Total time: 0.005623 seconds. /Users/sanazsab/openpose/include/openpose/thread/threadManager.hpp:stop():230 /Users/sanazsab/openpose/include/openpose/thread/queueBase.hpp:stop():305 /Users/sanazsab/openpose/include/openpose/thread/threadManager.hpp:stop():233 /Users/sanazsab/openpose/include/openpose/thread/threadManager.hpp:stop():237 /Users/sanazsab/openpose/include/openpose/thread/threadManager.hpp:stop():239 /Users/sanazsab/openpose/include/openpose/thread/thread.hpp:~Thread():93 /Users/sanazsab/openpose/include/openpose/thread/thread.hpp:~Thread():95 /Users/sanazsab/openpose/include/openpose/thread/queueBase.hpp:~QueueBase():113 /Users/sanazsab/openpose/include/openpose/thread/queueBase.hpp:stop():305 /Users/sanazsab/openpose/include/openpose/thread/queueBase.hpp:~QueueBase():115

But the json result is version":1.3,"people":[] like empty. I do not know what should I do then? My operating system is Mac pro and I use cpu-only option with the below command:

/Users/sanazsab/openpose/build/examples/openpose/openpose.bin --image_dir . --display 0 --render_pose 0 --write_json /Users/sanazsab/openpose/output_jsons/ --net_resolution 656x368 --logging_level 0 --disable_multi_thread --num_gpu 0 --num_gpu_start -1

Could you please help me in this regard? Thanks

sanazsab avatar Nov 25 '21 13:11 sanazsab

To clarify for others with way more knowledge about it than I:

It says that you ran OpenPose for a very short time, which probably explains why your JSON file is empty; it just didn't have time to register anything yet. Let it run for a bit.

AdeV-Oly avatar Dec 23 '21 09:12 AdeV-Oly

I am facing the same problem (running on Ubuntu 18.04 remote server). Did you manage to solve it?

Omri-CG avatar Feb 06 '22 10:02 Omri-CG

Just to clearify for others with way more knowledge about it than me:

It says that you ran OpenPose for a very short time, which probably explains why your JSON file is empty; it just didn't have time to register anything yet. Did you manually boot it up and end OpenPose? Or did it boot up and end it automatically? E.g., did you manually hit the 'escape' key after booting it up?

Thanks for your hints, I solved it bu windows

sanazsab avatar Feb 06 '22 10:02 sanazsab

I am facing the same problem (running on Ubuntu 18.04 remote server). Did you manage to solve it?

Hi, I could not manage in UBUNTU, so I switched to windows and used the demo for windows. Hope you can solve it sooner.

sanazsab avatar Feb 06 '22 10:02 sanazsab

For anyone still interested: you need to build the model with GPU_MODE=CPU_ONLY flag if you don't need GPU support. Otherwise setting --num_gpu 0 will skip the calculation stage entirely. This is somewhat described here (section "Always Zero People Detected").

Note: If you, like me, are using cli version of cmake use this command to set the flag: cmake .. -D GPU_MODE:STRINGS=CPU_ONLY

matkob avatar Sep 06 '22 21:09 matkob

This might be a bit outdated but found some time and created a PR #2147 improving the docs on building the tool with CPU only support. Hope this helps a little

matkob avatar Oct 18 '22 19:10 matkob

Hello! I meet this problem too. Did you solve it? If so, could you please tell me the solution? Thank you very much.

hrx20000209 avatar Dec 17 '23 10:12 hrx20000209

has this problem been solved? I am getting an empty "people" list

alamine53 avatar Jan 11 '24 23:01 alamine53

I have the same problem, and GPU is detected successfully by openpose.

GeorgeHu6 avatar Mar 20 '24 10:03 GeorgeHu6