Giter VIP home page Giter VIP logo

cmu-perceptual-computing-lab / openpose Goto Github PK

View Code? Open in Web Editor NEW
29.8K 919.0 7.8K 84.47 MB

OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation

Home Page: https://cmu-perceptual-computing-lab.github.io/openpose

License: Other

C++ 88.86% Shell 1.67% Cuda 5.56% Batchfile 0.06% CMake 3.75% HCL 0.09% Python 0.01%
openpose computer-vision machine-learning cpp caffe opencv human-pose-estimation real-time deep-learning human-behavior-understanding

openpose's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openpose's Issues

can't find the build_win.cmd

Issue summary

I have downloaded the https://github.com/CMU-Perceptual-Computing-Lab/openpose. but I can't find the build_win.cmd in caffe.should I download caffe-windows from the official website and cover it?And can I compile it with vs2013?

Executed command (if any)

OpenPose output (if any)

Type of issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
  • Execution error
  • Help wanted
  • Question
  • Enhancement / offering possible extensions / pull request / etc
  • Other (type your own type)

Your system configuration

Operating system Windows10
CUDA version 5.1
cuDNN version:8.0
GPU model (nvidia-smi):
Caffe version: Default
OpenCV version: Default
Compiler (gcc --version on Ubuntu):

Image example folder not found (`examples/media/`)

Issue summary

enviroment: Ubuntu 16.04+CUDA8.0+cuDNN5.1+OpenCV3.2.0
Built and installed successfully(mannually compiled), but failed to run any demo example.

Executed command (if any)

./build/examples/openpose/rtpose.bin --image_dir examples/media/

OpenPose output (if any)

Starting pose estimation demo.
terminate called after throwing an instance of 'std::runtime_error'
  what():  
Error:
boost::filesystem::directory_iterator::construct: No such file or directory


Coming from:
- src/openpose/utilities/fileSystem.cpp:getFilesOnDirectory():186
- src/openpose/producer/imageDirectoryReader.cpp:getImagePathsOnDirectory():26

Aborted (core dumped)

Type of issue

  • Execution error
  • Help wanted

Your system configuration

Operating system (lsb_release -a on Ubuntu):

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial

CUDA version (cat /usr/local/cuda/version.txt in most cases):
CUDA Version 8.0.61
cuDNN version:
5.1
GPU model (nvidia-smi):

Mon May  8 20:56:03 2017       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.26                 Driver Version: 375.26                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla M4            Off  | 0000:82:00.0     Off |                    0 |
| N/A   35C    P0    19W /  75W |      0MiB /  3784MiB |     91%      Default |
+-------------------------------+----------------------+----------------------+

Compiler (gcc --version on Ubuntu):

gcc (Ubuntu 4.9.3-13ubuntu2) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Does the "disable_blending" images can reflect the scores?

Issue summary

I want to use Openpose to do some action recognition. But could you tell me if the "disable_blending" images can reflect the scores?
Thank you very much!!!!!!!
(if they can, i will train the disable_blending images to do a action classification work. And i know i can save the images as .json , but i just want to use the images to train a CNN net)

Executed command (if any)

OpenPose output (if any)

Type of issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
  • Execution error
  • Help wanted
  • Question
  • Enhancement / offering possible extensions / pull request / etc
  • Other (type your own type)

Your system configuration

Operating system (lsb_release -a on Ubuntu):
CUDA version (cat /usr/local/cuda/version.txt in most cases):
cuDNN version:
GPU model (nvidia-smi):
Caffe version: Default from OpenPose or custom version.
OpenCV version: installed with apt-get install libopencv-dev or OpenCV 2.X or OpenCV 3.X.
Compiler (gcc --version on Ubuntu):

How to get heatmap coordinate??

Hi, i have some questions.

In poseParameters.hpp, you define heatmap part like POSE_COCO_BODY_PARTS and POSE_MPI_BODY_PARTS.
And in Demo, i press '1' i can only see nose heatmap.

  1. How can i get one part heatmap x, y coordinate??
    (For example nose heatmap x, y coordinate)

  2. If 3 people are in the image. I get 3 heatmeap in the image.
    Can i classify the 3 people??
    For example if i want to detect the person who is the tallest person among the 3 people.
    Can i detect the only the person not other 2 people??

Thanks to read it.

Execution error - Segment error( core dump)

Executed command (if any)

./build/examples/openpose/openpose.bin --video examples/media/1.avi --logging_level 0
or ./build/examples/openpose/openpose.bin --camera 0 --logging_level 0

OpenPose output (if any)

error :dl@dl:/openpose-master$ ./build/examples/openpose/openpose.bin --camera 0 --logging_level 0
Starting pose estimation demo.
examples/openpose/openpose.cpp:gflagsToOpParameters():203
examples/openpose/openpose.cpp:gflagsToProducer():171
examples/openpose/openpose.cpp:gflagsToProducerType():151
examples/openpose/openpose.cpp:gflagToPoseModel():113
examples/openpose/openpose.cpp:gflagToScaleMode():129
Configuring OpenPose wrapper. In examples/openpose/openpose.cpp:opRealTimePoseDemo():249
./include/openpose/wrapper/wrapper.hpp:configure():422
./include/openpose/wrapper/wrapper.hpp:configure():559
./include/openpose/wrapper/wrapper.hpp:configure():722
Starting thread(s)
./include/openpose/wrapper/wrapper.hpp:configureThreadManager():1030
./include/openpose/thread/threadManager.hpp:exec():166
./include/openpose/thread/queueBase.hpp:addPusher():364
./include/openpose/thread/queueBase.hpp:addPusher():364
./include/openpose/thread/queueBase.hpp:addPusher():364
./include/openpose/thread/threadManager.hpp:exec():171
./include/openpose/thread/thread.hpp:startInThread():141
./include/openpose/thread/thread.hpp:startInThread():141
./include/openpose/thread/thread.hpp:startInThread():141
./include/openpose/thread/thread.hpp:threadFunction():185
./include/openpose/thread/thread.hpp:threadFunction():185
./include/openpose/thread/thread.hpp:threadFunction():188
./include/openpose/thread/thread.hpp:threadFunction():185
./include/openpose/thread/thread.hpp:threadFunction():188
./include/openpose/thread/thread.hpp:threadFunction():185
Starting initialization on thread. In src/openpose/pose/poseExtractorCaffe.cpp:netInitializationOnThread():42
init done
./include/openpose/thread/thread.hpp:threadFunction():188
Segment error( core dump)
dl@dl:
/openpose-master$

Your system configuration

**Operating system: Ubuntu14.04
**CUDA version:7.5
**cuDNN version:5.1
GPU model (nvidia-smi):titan x
Caffe version: Default from OpenPose or custom version.
OpenCV version: installed with apt-get install libopencv-dev or OpenCV 2.X or OpenCV 3.X.
Compiler (gcc --version on Ubuntu):gcc 4.8.5

Release version works but debug version does not - CUDA (7 vs. 0): too many resources requested

Issue summary

@zhaishengfu issue #13:

When i compile using debug mode, there are still errors with:
terminate called after throwing an instance of 'std::runtime_error'
what():
Error:
Cuda check failed (7 vs. 0): too many resources requested for launch

Coming from:

  • src/openpose/pose/poseRenderGpu.cu:renderPoseGpu():439
  • src/openpose/pose/poseRenderGpu.cu:renderPoseGpu():444
  • src/openpose/pose/poseRenderer.cpp:renderPose():285**

So Why This happen? and Why the release can work? Could you tell me what is my problem?? what is the core difference with these 2 files?

@zhaishengfu, I moved your last question to this new issue thread since it is different from your previous one. I will answer as soon as possible.

Executed command (if any)

OpenPose output (if any)

Type of issue

Keep only your type and delete the rest. You might select multiple topics:

  • Compilation/installation error
  • Execution error
  • Help wanted
  • Question
  • Enhancement / offering possible extensions / pull request / etc
  • Other (type your own type)

Your system configuration

Operating system (lsb_release -a on Ubuntu):
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
CUDA version (cat /usr/local/cuda/version.txt in most cases): CUDA Version 8.0.27
cuDNN version:
???
GPU model (nvidia-smi): GTX-1070
Compiler (gcc --version on Ubuntu):

and my cpu is 4 core

Custom Caffe Section on doc/installation.md

Issue summary

The custom caffe section in doc/installation.md is missing.

Just a simple pointer would be enough. For example:

Modify your CAFFE_DIR:=/path/to/caffe/distribute in the Makefile.config.Ubuntu14.example.

Type of issue

  • Enhancement / offering possible extensions / pull request / etc

Does the hand-pose will declose the training code?

I have read your paper "Hand Keypoint Detection in Single Images using Multiview Bootstrapping", if you can share with us about the training details, it will be very helpful for the RGB based hand detection research!

The question with dataset

Hi,
I'm new in deep learning (about 3 months). and I want to train a model that can recognize people(or head) like openpose that can work almost everywhere.
I know that the dataset is very important.
Could please tell me how many images and which dataset has openspoe used to train?
※I read the paper. Does it only used mpii and MS coco +image augmentation?or other datasets?
Could your please give me some advices?

Body posture recognition?

I want to do a body posture recognition, such as running, lying, etc., how can I judge these actions, can give me some suggestions?
Thanks.

Makefile:586: recipe for target '.build_release/src/caffe/layers/xxxxxx_layer.o' failed

Requirements are met.
Here's the error message, I hope you can help me, please

------------------------- Compiling Caffe -------------------------
CXX src/caffe/layers/bias_layer.cpp
CXX src/caffe/layers/parameter_layer.cpp
CXX src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp
CXX src/caffe/layers/dropout_layer.cpp
CXX src/caffe/layers/cudnn_tanh_layer.cpp
CXX src/caffe/layers/sigmoid_layer.cpp
CXX src/caffe/layers/filter_layer.cpp
CXX src/caffe/layers/lstm_layer.cpp
CXX src/caffe/layers/hdf5_output_layer.cpp
CXX src/caffe/layers/softmax_layer.cpp
CXX src/caffe/layers/scale_layer.cpp
CXX src/caffe/layers/argmax_layer.cpp
CXX src/caffe/layers/crop_layer.cpp
CXX src/caffe/layers/euclidean_loss_layer.cpp
CXX src/caffe/layers/inner_product_layer.cpp
CXX src/caffe/layers/cudnn_sigmoid_layer.cpp
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/parameter_layer.hpp:6,
from src/caffe/layers/parameter_layer.cpp:1:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/parameter_layer.o' failed
make: *** [.build_release/src/caffe/layers/parameter_layer.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/hdf5_output_layer.hpp:10,
from src/caffe/layers/hdf5_output_layer.cpp:6:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/filter_layer.hpp:7,
from src/caffe/layers/filter_layer.cpp:3:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/hdf5_output_layer.o' failed
make: *** [.build_release/src/caffe/layers/hdf5_output_layer.o] Error 1
Makefile:586: recipe for target '.build_release/src/caffe/layers/filter_layer.o' failed
make: *** [.build_release/src/caffe/layers/filter_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/sigmoid_cross_entropy_loss_layer.hpp:7,
from src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp:4:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/sigmoid_cross_entropy_loss_layer.o' failed
make: *** [.build_release/src/caffe/layers/sigmoid_cross_entropy_loss_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/filler.hpp:13,
from src/caffe/layers/bias_layer.cpp:3:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/bias_layer.o' failed
make: *** [.build_release/src/caffe/layers/bias_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/euclidean_loss_layer.hpp:7,
from src/caffe/layers/euclidean_loss_layer.cpp:3:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/euclidean_loss_layer.o' failed
make: *** [.build_release/src/caffe/layers/euclidean_loss_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/cudnn_sigmoid_layer.hpp:7,
from src/caffe/layers/cudnn_sigmoid_layer.cpp:4:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/cudnn_sigmoid_layer.o' failed
make: *** [.build_release/src/caffe/layers/cudnn_sigmoid_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from src/caffe/layers/crop_layer.cpp:8:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/crop_layer.o' failed
make: *** [.build_release/src/caffe/layers/crop_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/dropout_layer.hpp:7,
from src/caffe/layers/dropout_layer.cpp:5:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/filler.hpp:13,
from src/caffe/layers/scale_layer.cpp:4:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/dropout_layer.o' failed
make: *** [.build_release/src/caffe/layers/dropout_layer.o] Error 1
Makefile:586: recipe for target '.build_release/src/caffe/layers/scale_layer.o' failed
make: *** [.build_release/src/caffe/layers/scale_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/sigmoid_layer.hpp:7,
from src/caffe/layers/sigmoid_layer.cpp:4:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/sigmoid_layer.o' failed
make: *** [.build_release/src/caffe/layers/sigmoid_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/softmax_layer.hpp:7,
from src/caffe/layers/softmax_layer.cpp:4:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/softmax_layer.o' failed
make: *** [.build_release/src/caffe/layers/softmax_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/cudnn_tanh_layer.hpp:7,
from src/caffe/layers/cudnn_tanh_layer.cpp:4:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/cudnn_tanh_layer.o' failed
make: *** [.build_release/src/caffe/layers/cudnn_tanh_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/layer.hpp:12,
from ./include/caffe/layers/argmax_layer.hpp:7,
from src/caffe/layers/argmax_layer.cpp:6:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/argmax_layer.o' failed
make: *** [.build_release/src/caffe/layers/argmax_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/filler.hpp:13,
from src/caffe/layers/lstm_layer.cpp:6:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/lstm_layer.o' failed
make: *** [.build_release/src/caffe/layers/lstm_layer.o] Error 1
In file included from ./include/caffe/util/math_functions.hpp:11:0,
from ./include/caffe/filler.hpp:13,
from src/caffe/layers/inner_product_layer.cpp:3:
./include/caffe/util/mkl_alternate.hpp:14:19: fatal error: cblas.h: No such file or directory
compilation terminated.
Makefile:586: recipe for target '.build_release/src/caffe/layers/inner_product_layer.o' failed
make: *** [.build_release/src/caffe/layers/inner_product_layer.o] Error 1


Errors detected. Exiting script. The software might have not been successfully installed.



Errors detected. Exiting script. The software might have not been successfully installed.

Error Compiling OpenPose - std::accumulate not found

CXX src/openpose/core/array.cpp
CXX src/openpose/core/nmsCaffe.cpp
CXX src/openpose/core/resizeAndMergeCaffe.cpp
src/openpose/core/array.cpp: In member function ‘void op::Array::reset(const std::vector&)’:
src/openpose/core/array.cpp:166:28: error: ‘accumulate’ is not a member of ‘std’
mVolume = {std::accumulate(sizes.begin(), sizes.end(), 1ul, std::multiplies<size_t>())};
^
compilation terminated due to -Wfatal-errors.
Makefile:471: recipe for target '.build_release/src/openpose/core/array.o' failed
make: *** [.build_release/src/openpose/core/array.o] Error 1
make: *** Waiting for unfinished jobs....


Errors detected. Exiting script. The software might have not been successfully installed.



Errors detected. Exiting script. The software might have not been successfully installed.


Dataset! body + hand

COCO dataset only contain body-keypoints. What dataset has both body and hand keypoints?

status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM

Hi guys, I tried to run some demos, but I got the error shown below:

feliphe@synthetic-nb1:~/openpose$ sudo ./build/examples/openpose/rtpose.binStarting pose estimation demo.
Starting thread(s)
F0505 15:14:03.078338 23156 cudnn.hpp:100] Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM
*** Check failure stack trace: ***
@ 0x7f887fe195ad google::LogMessage::Fail()
@ 0x7f887fe1b413 google::LogMessage::SendToLog()
@ 0x7f887fe1913b google::LogMessage::Flush()
@ 0x7f887fe1bdfe google::LogMessageFatal::~LogMessageFatal()
@ 0x7f887e082995 caffe::CuDNNConvolutionLayer<>::LayerSetUp()
@ 0x7f887df43b5d caffe::Net<>::Init()
@ 0x7f887df46bca caffe::Net<>::Net()
@ 0x7f888016f45e op::NetCaffe::initializationOnThread()
@ 0x7f88800ab59e op::PoseExtractorCaffe::netInitializationOnThread()
@ 0x7f88800e9571 op::SubThread<>::initializationOnThread()
@ 0x7f88800e9b60 op::Thread<>::initializationOnThread()
@ 0x7f88800ee4dd op::Thread<>::threadFunction()
@ 0x7f887f91bc20 (unknown)
@ 0x7f887f4326ca start_thread
@ 0x7f887f16c0af clone
@ (nil) (unknown)
Aborted (core dumped)

Slow startup, get body key-points more quickly? + CUDNN_STATUS_BAD_PARAM

Issue summary

Every time I start, GUI has to keep the screen black for some time.
I just want 18 body key-points on the picture.
How can I get the body key-points more quickly?

Thanks.

Executed command (if any)

./build/examples/openpose/rtpose.bin --image_dir ./data/ --write_pose_json ./output/ --num_gpu 2

OpenPose output (if any)

Sometimes there is only one person in the picture, but it outout 2 body data??

Type of issue

  • Help wanted
  • Question

Your system configuration

Operating system (lsb_release -a on Ubuntu):
ubuntu 14.04
CUDA version (cat /usr/local/cuda/version.txt in most cases):
cuda 8.0
cuDNN version:
cudnn-8.0-linux-x64-v5.1
GPU model (nvidia-smi):
Wed May 17 10:43:18 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.48 Driver Version: 367.48 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1080 Off | 0000:03:00.0 Off | N/A |
| 33% 43C P0 39W / 180W | 0MiB / 8113MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 750 Off | 0000:84:00.0 Off | N/A |
| 25% 38C P0 1W / 38W | 0MiB / 979MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 2 GeForce GTX 750 Ti Off | 0000:85:00.0 Off | N/A |
| 25% 37C P0 2W / 38W | 0MiB / 2000MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+

Compiler (gcc --version on Ubuntu):
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

The system runs with low efficiency, and is only 6.5fps, any what should I modify?

Issue summary

the fps is only +=6.5

Executed command (if any)

./build/examples/openpose/openpose.bin --video examples/media/video.avi

Type of issue

  • Execution error
  • Help wanted

Your system configuration

Operating system (lsb_release -a on Ubuntu):
ubuntu 14.04
CUDA version (cat /usr/local/cuda/version.txt in most cases):
cuda 8.0
cuDNN version:
cudnn-8.0-linux-x64-v5.1
GPU model (nvidia-smi):
nvidia-smi
Tue May 16 15:02:50 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.26 Driver Version: 375.26 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 980 Off | 0000:01:00.0 On | N/A |
| 36% 65C P2 185W / 180W | 1514MiB / 4032MiB | 95% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1144 G /usr/lib/xorg/Xorg 151MiB |
| 0 1993 G compiz 50MiB |
| 0 29649 C ./build/examples/openpose/openpose.bin 1310MiB |
+-----------------------------------------------------------------------------+
Compiler (gcc --version on Ubuntu):
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

the process is killed

the command:
./build/examples/openpose/rtpose.bin --image_dir examples/media/ --write_images output/ --model_pose MPI
OR
./build/examples/openpose/rtpose.bin --image_dir examples/media/ --write_images output/ --model_pose COCO

the process:
Starting pose estimation demo.
Starting thread(s)
Killed

how to solve the problem?

by the way:
opencv is 2.4.13
GPU is TX1

Execution error when saving JSON and no people is detected

Type of issue

  • Execution error

Executed command (if any)

I run following command.

./build/examples/openpose/rtpose.bin --video $movepath  --write_pose json/ --num_gpu 2

OpenPose output (if any)

When the scene of the movie gradually went fade to white, following error has occured. I tried same movie 3 time. Same error has occured 3 time.

Starting pose estimation demo.
Gtk-Message: Failed to load module "canberra-gtk-module"
Starting thread(s)
terminate called after throwing an instance of 'std::runtime_error'
  what():  
Error:
Array<T>: cv::Mat functions only valid for T types defined by OpenCV: unsigned char, signed char, int, float & double

Coming from:
- src/openpose/core/array.cpp:getConstCvMat():328
- src/openpose/core/array.cpp:getConstCvMat():334
- src/openpose/filestream/poseSaver.cpp:savePoseKeyPoints():39
- ./include/openpose/filestream/wPoseSaver.hpp:workConsumer():80
- ./include/openpose/thread/subThread.hpp:workTWorkers():138
- ./include/openpose/thread/subThreadQueueInOut.hpp:work():87
- ./include/openpose/thread/thread.hpp:threadFunction():206

Aborted (core dumped)

And I analyzed core by gdb.

# gdb ./build/examples/openpose/rtpose.bin core.rtpose.bin.2257
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./build/examples/openpose/rtpose.bin...(no debugging symbols found)...done.
[New LWP 2284]
[New LWP 2257]
[New LWP 2275]
[New LWP 2283]
[New LWP 2282]
[New LWP 2259]
[New LWP 2260]
[New LWP 2258]
[New LWP 2279]
[New LWP 2274]
[New LWP 2270]
[New LWP 2272]
[New LWP 2285]
[New LWP 2280]
[New LWP 2277]
[New LWP 2261]
[New LWP 2265]
[New LWP 2278]
[New LWP 2266]
[New LWP 2267]
[New LWP 2276]
[New LWP 2268]
[New LWP 2269]
[New LWP 2263]
[New LWP 2286]
[New LWP 2262]
[New LWP 2264]
[New LWP 2273]
[New LWP 2271]
[New LWP 2281]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./build/examples/openpose/rtpose.bin --video sozai/notall.mp4 --write_pose json'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f2b557d5428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f2adb2fd700 (LWP 2284))]
(gdb) 

And the movie is below. The timing of the error is 1:44.
https://www.youtube.com/watch?v=iZuNdzv3TcE#t=104

Your system configuration

Operating system (lsb_release -a on Ubuntu): 16.04
CUDA version (cat /usr/local/cuda/version.txt in most cases): 8.0.61
cuDNN version: 5.1.10.
GPU model (nvidia-smi): nvidia-tesla driver version :375.51
Compiler (gcc --version on Ubuntu):5.4.0

Can OpenPose be used on Nvidia Jetson TK1 with cuda 6.5

Issue summary

Can OpenPose be used on Jetson TK1 with cuda 6.5

Type of issue

  • Question

Your system configuration

Operating system ubunutu 14.04
CUDA version 6.5
cuDNN version:
GPU model Nvidia jetson tk1
Caffe version: Default from OpenPose or custom version.
OpenCV version: Opencv 2.4

Caffe2 support (running on cross platform such as iOS)

Issue summary

Firstly, congratulations on your great job!
I managed to run it on my GeForce 980 ti card and it's quite smooth (like 7fps).

I am working on a Caffe2-iOS project and thinking it will be super awesome if we can come up with a wrapper or Cocoa Pod wrapping Caffe2 models to run it on iOS.

However, it seems that you guys have a dependencies on multiple caffe models, which got it not that straightforward.

Do you guys have any plan to get a Caffe2 support (I would like to have a try but it seems lots of work) ?

And also btw is this project running on CUDA a requirement or just because it's slow on CPU ?

Type of issue

  • Enhancement / offering possible extensions / pull request / etc

Your system configuration

Operating system (lsb_release -a on Ubuntu): iOS
CUDA version (cat /usr/local/cuda/version.txt in most cases): X
cuDNN version: X
GPU model (nvidia-smi): X
Compiler (gcc --version on Ubuntu): X

Add support for Docker

This is an awesome project, so I think it could use some Dockerfiles to simplify the build steps, thus lowering the barrier of entry for new users. Perhaps we could start making some Dockerfiles building from a parent images like BVLC's Caffe Docker Image, then create an automated DockerHub repo to host the latest set of releases of OpenPose? I'll send a PR of a set of Dockerfiles and run scripts that are working for me.

Can I used open pose to train my own data?

Hi all,
I have two question:
First, Can I use open pose to train my own data, something like houre parts detection?
Second, Can I specified The joint number of an object, like 15, 19 or 50 joints ?
Thank you for your reply!

No output displayed or it gets stuck - OpenCV issue

my terminal isn't responding after executed the command below:

./build/examples/openpose/rtpose.bin --image_dir examples/media/ --logging_level 1 --net_resolution 496x368 --resolution 640x480

since i got the following message:

Starting pose estimation demo. examples/openpose/rtpose.cpp:gflagsToOpParameters():203 examples/openpose/rtpose.cpp:gflagsToProducer():171 examples/openpose/rtpose.cpp:gflagsToProducerType():151 examples/openpose/rtpose.cpp:gflagToPoseModel():113 examples/openpose/rtpose.cpp:gflagToScaleMode():129 Configuring OpenPose wrapper. In examples/openpose/rtpose.cpp:opRealTimePoseDemo():249 ./include/openpose/wrapper/wrapper.hpp:configure():418 ./include/openpose/wrapper/wrapper.hpp:configure():555 ./include/openpose/wrapper/wrapper.hpp:configure():716 Starting thread(s) ./include/openpose/wrapper/wrapper.hpp:configureThreadManager():1024 ./include/openpose/thread/threadManager.hpp:start():192 ./include/openpose/thread/queueBase.hpp:addPusher():364 ./include/openpose/thread/queueBase.hpp:addPusher():364 ./include/openpose/thread/queueBase.hpp:addPusher():364 ./include/openpose/thread/thread.hpp:startInThread():141 ./include/openpose/thread/thread.hpp:startInThread():141 ./include/openpose/thread/thread.hpp:startInThread():141 ./include/openpose/thread/thread.hpp:threadFunction():185 ./include/openpose/thread/thread.hpp:threadFunction():185 ./include/openpose/thread/thread.hpp:startInThread():141 Starting initialization on thread. In src/openpose/pose/poseExtractorCaffe.cpp:netInitializationOnThread():38./include/openpose/thread/thread.hpp:threadFunction():188 ./include/openpose/thread/threadManager.hpp:start():198 ./include/openpose/thread/thread.hpp:threadFunction():185 ./include/openpose/thread/thread.hpp:threadFunction():188 ./include/openpose/thread/thread.hpp:threadFunction():185 ./include/openpose/thread/thread.hpp:threadFunction():188 Finished initialization on thread. In src/openpose/pose/poseExtractorCaffe.cpp:netInitializationOnThread():61 Starting initialization on thread. In src/openpose/pose/poseRenderer.cpp:initializationOnThread():75 Finished initialization on thread. In src/openpose/pose/poseRenderer.cpp:initializationOnThread():79 ./include/openpose/thread/thread.hpp:threadFunction():188

i'm running on ubuntu16 with opencv3
other requires were setup by ./install_caffe_and_openpose.sh , which was provided by official

How can I use OpenPose in another project?

Issue summary

my test project: i just copy the file rtpose.cpp to the project.Then i write a CMakeLists.txt:
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(test)
SET(CMAKE_CXX_COMPILER "g++")
SET(CMAKE_BUILD_TYPE Debug)
SET(CMAKE_CXX_FLAGS "-std=c++0x")
find_package(CUDA REQUIRED)
INCLUDE_DIRECTORIES(
${CUDA_INCLUDE_DIRS}
/home/wsh/projects/openpose/include
/home/wsh/projects/openpose/3rdparty/caffe/include
)
ADD_EXECUTABLE(pose rtpose.cpp)
TARGET_LINK_LIBRARIES(pose
${CUDA_LIBS}
/home/wsh/projects/openpose/build/lib/libopenpose.so
/home/wsh/projects/openpose/3rdparty/caffe/build/lib/libcaffe.so
)
I can run the examples successfully in openpose, but in my test project, it can not.

Type of issue

Help wanted

OpenPose output (if any)

/home/wsh/projects/openpose/include/openpose/experimental/face/faceExtractor.hpp:48:29: error: ‘ResizeAndMergeCaffe’ was not declared in this scope
std::shared_ptr spResizeAndMergeCaffe;
/home/wsh/projects/openpose/include/openpose/experimental/face/faceExtractor.hpp:49:29: error: ‘NmsCaffe’ was not declared in this scope
std::shared_ptr spNmsCaffe;
......

what does connectBodyPartsCpu() function do?

Issue summary

I can't understand the connectBodyPartsCpu() function, could you give me some more details on it?

Thanks.

Executed command (if any)

OpenPose output (if any)

Type of issue

You might select multiple topics, delete the rest:

  • Help wanted
  • Other (type your own type)

Your system configuration

Operating system (lsb_release -a on Ubuntu):
CUDA version (cat /usr/local/cuda/version.txt in most cases):
cuDNN version:
GPU model (nvidia-smi):
Caffe version: Default from OpenPose or custom version.
OpenCV version: installed with apt-get install libopencv-dev or OpenCV 2.X or OpenCV 3.X.
Compiler (gcc --version on Ubuntu):

VideoCapture (video) could not be opened for path: 'examples/media/video.avi'.

Issue summary

VideoCapture (video) could not be opened for path: 'examples/media/video.avi'.

Executed command (if any)

./build/examples/openpose/openpose.bin --video examples/media/video.avi

OpenPose output (if any)

Starting pose estimation demo.
Unable to stop the stream: Inappropriate ioctl for device
terminate called after throwing an instance of 'std::runtime_error'
what():
Error:
VideoCapture (video) could not be opened for path: 'examples/media/video.avi'.

Coming from:

  • src/openpose/producer/videoCaptureReader.cpp:VideoCaptureReader():33
  • src/openpose/producer/videoCaptureReader.cpp:VideoCaptureReader():37

Aborted (core dumped)

Type of issue

im sure ihave the video.avi in the media document. And i follow your installation.md to set the openpose

Your system configuration

Operating system (lsb_release -a on Ubuntu): Ubuntu16.04
CUDA version (cat /usr/local/cuda/version.txt in most cases): 8.0
cuDNN version:
GPU model (nvidia-smi):
Caffe version: Default from OpenPose or custom version.
OpenCV version: installed with apt-get install libopencv-dev or OpenCV 2.X or OpenCV 3.X. 3.0
Compiler (gcc --version on Ubuntu):

CUDA error, files not found - Windows

Hi, I'm the guy who visited @ZheC with my colleague Yoshi at CMU. We are working on using this system for educational settings (e.g., detecting hand raises, head orientation shifts, and similar). It would be GREAT if we could run on Windows!

Issue summary

I see there's a windows branch. As of this posting, the Visual Studio project does not build "out of the box". I have a working build of Caffe using the windows branch direct from upstream, so I think it shouldn't be too much extra work to build openpose (maybe I need to install QT?).

But before I bother with QT... errors are happening with CUDA already (nvcc). And it seems like it's just missing files. Happy to help, though my experience is mostly on the GNU and friends toolchain on mac and linux (I guess you're in the same boat).

Executed command (if any)

Load OpenPose.sln in Visual Studio Community 2015, and build the "solution".

OpenPose output (if any)

1>------ Build started: Project: OpenPose, Configuration: Debug x64 ------
1>  Compiling CUDA source file ..\..\src\openpose\core\nmsBase.cu...
1>  Compiling CUDA source file ..\..\src\openpose\core\resizeAndMergeBase.cu...
1>
1>  C:\Users\davcl\Code\openpose\windows_project\OpenPose>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\core\\nmsBase.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\core\nmsBase.cu"
1>  Compiling CUDA source file ..\..\src\openpose\experimental\hand\handRenderGpu.cu...
1>  Compiling CUDA source file ..\..\src\openpose\experimental\face\faceRenderGpu.cu...
1>
1>  C:\Users\davcl\Code\openpose\windows_project\OpenPose>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\core\\resizeAndMergeBase.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\core\resizeAndMergeBase.cu"
1>  Compiling CUDA source file ..\..\src\openpose\pose\bodyPartConnectorBase.cu...
1>  Compiling CUDA source file ..\..\src\openpose\pose\poseRenderGpu.cu...
1>
1>  C:\Users\davcl\Code\openpose\windows_project\OpenPose>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\experimental\hand\\handRenderGpu.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\experimental\hand\handRenderGpu.cu"
1>
1>  C:\Users\davcl\Code\openpose\windows_project\OpenPose>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\experimental\face\\faceRenderGpu.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\experimental\face\faceRenderGpu.cu"
1>
1>  C:\Users\davcl\Code\openpose\windows_project\OpenPose>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\pose\\bodyPartConnectorBase.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\pose\bodyPartConnectorBase.cu"
1>
1>  C:\Users\davcl\Code\openpose\windows_project\OpenPose>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\pose\\poseRenderGpu.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\pose\poseRenderGpu.cu"
1>c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_config.h(217): warning C4668: '__CUDACC_RTC__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
1>C:/Users/davcl/Code/openpose/src/openpose/core/resizeAndMergeBase.cu(1): fatal error C1083: Cannot open include file: 'openpose/utilities/cuda.hpp': No such file or directory
1>  resizeAndMergeBase.cu
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets(689,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\core\\resizeAndMergeBase.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\core\resizeAndMergeBase.cu"" exited with code 2.
1>c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_config.h(217): warning C4668: '__CUDACC_RTC__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
1>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include\thrust/iterator/detail/is_trivial_iterator.h(22): warning C4668: '__GNUC__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
1>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include\thrust/iterator/detail/is_trivial_iterator.h(85): warning C4668: '__GNUC__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
1>C:/Users/davcl/Code/openpose/src/openpose/core/nmsBase.cu(3): fatal error C1083: Cannot open include file: 'openpose/utilities/cuda.hpp': No such file or directory
1>  nmsBase.cu
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets(689,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\core\\nmsBase.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\core\nmsBase.cu"" exited with code 2.
1>c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_config.h(217): warning C4668: '__CUDACC_RTC__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
1>C:/Users/davcl/Code/openpose/src/openpose/experimental/face/faceRenderGpu.cu(1): fatal error C1083: Cannot open include file: 'openpose/experimental/face/faceParameters.hpp': No such file or directory
1>  faceRenderGpu.cu
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets(689,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\experimental\face\\faceRenderGpu.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\experimental\face\faceRenderGpu.cu"" exited with code 2.
1>c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_config.h(217): warning C4668: '__CUDACC_RTC__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
1>C:/Users/davcl/Code/openpose/src/openpose/experimental/hand/handRenderGpu.cu(1): fatal error C1083: Cannot open include file: 'openpose/experimental/hand/handParameters.hpp': No such file or directory
1>  handRenderGpu.cu
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets(689,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\experimental\hand\\handRenderGpu.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\experimental\hand\handRenderGpu.cu"" exited with code 2.
1>c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_config.h(217): warning C4668: '__CUDACC_RTC__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
1>C:/Users/davcl/Code/openpose/src/openpose/pose/bodyPartConnectorBase.cu(1): fatal error C1083: Cannot open include file: 'openpose/utilities/cuda.hpp': No such file or directory
1>  bodyPartConnectorBase.cu
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets(689,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\pose\\bodyPartConnectorBase.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\pose\bodyPartConnectorBase.cu"" exited with code 2.
1>c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_config.h(217): warning C4668: '__CUDACC_RTC__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
1>C:/Users/davcl/Code/openpose/src/openpose/pose/poseRenderGpu.cu(2): fatal error C1083: Cannot open include file: 'openpose/pose/poseParameters.hpp': No such file or directory
1>  poseRenderGpu.cu
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets(689,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env --cl-version 2015 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DCAFFE_VERSION=1.0.0 -DBOOST_ALL_NO_LIB -DUSE_LMDB -DUSE_LEVELDB -DUSE_CUDNN -DUSE_OPENCV -DUSE_CAFFE -DCMAKE_WINDOWS_BUILD -DGLOG_NO_ABBREVIATED_SEVERITIES -D"GOOGLE_GLOG_DLL_DECL=__declspec(dllimport)" -D"GOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport)" -DH5_BUILT_AS_DYNAMIC_LIB=1 -D"CMAKE_INTDIR=\"Release\"" -D_CRT_SECURE_NO_WARNINGS -D_MBCS -D_MBCS -Xcompiler "/EHsc /Wall /nologo /Od /FS /Zi /RTC1 /MDd " -o x64\Debug\\obj\obj\obj\..\..\src\openpose\pose\\poseRenderGpu.cu.obj "C:\Users\davcl\Code\openpose\src\openpose\pose\poseRenderGpu.cu"" exited with code 2.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Type of issue

  • Compilation/installation error

Your system configuration

Operating system Windows 10 (up to date as of posting)
CUDA version 8.0
cuDNN version 6.0 (note - works fine with standalone Caffe on windows build)
GPU model Nvidia 1050 2 GB (laptop)
Caffe version Default
OpenCV version Default
Compiler: Visual Studio Community 2015

Render error - Cuda check failed (7 vs. 0): too many resources requested for launch

I run your program 1_extract_from_image.cpp and it says:
**
Error:
Cuda check failed (7 vs. 0): too many resources requested for launch

Coming from:

  • src/openpose/pose/poseRenderGpu.cu:renderPoseGpu():439
  • src/openpose/pose/poseRenderGpu.cu:renderPoseGpu():444
    **
    what is the problem??
    Ifind it the error lies in line 238 of poseRender.cpp:
    renderPoseGpu(*spGpuMemoryPtr, mPoseModel, numberPeople, mOutputSize, pGpuPose, mShowGooglyEyes, mBlendOriginalFrame, mAlphaPose);
    Please help me.

Which version of Protobuf?

when running install_caffe_and_openpoase.sh i am getting a lot of errors with caffe.pb.h. At first, the errors protobuf version related (2.5 was too old, 3.3 was too new). I am currently using protobuf 3.0.2 and getting errors:

.build_release/src/caffe/proto/caffe.pb.h:8535:30: error: ‘PROTOBUF_FINAL’ does not name a type
   bool IsInitialized() const PROTOBUF_FINAL;

QT runtime error

Issue summary

libqxcb load failed.

Executed command (if any)

./rtpose.bin

OpenPose output (if any)

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/huangw/workspace/openpose/.build_release/examples/openpose/platforms" ...
loaded library "/home/huangw/anaconda2/plugins/platforms/libqxcb.so"
QLibraryPrivate::loadPlugin failed on "/home/huangw/anaconda2/plugins/platforms/libqxcb.so" : "Cannot load library /home/huangw/anaconda2/plugins/platforms/libqxcb.so: (/home/huangw/anaconda2/lib/libQt5Core.so.5: version `Qt_5.8' not found (required by /home/huangw/Qt5.8.0/5.8/gcc_64/lib/libQt5XcbQpa.so.5))"
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: minimal, offscreen, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

Type of issue

  • Execution error

Your system configuration

Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

CUDA Version 8.0.44

± |master ↓7 U:2 ✗| → nvidia-smi
Wed May 17 16:18:23 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.48 Driver Version: 367.48 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro M5000 Off | 0000:03:00.0 On | Off |
| 38% 34C P8 14W / 150W | 253MiB / 8120MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1160 G /usr/lib/xorg/Xorg 166MiB |
| 0 1923 G compiz 85MiB |
+-----------------------------------------------------------------------------+

± |master ↓7 U:2 ✗| → gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

resolution format (1920*1080) invalid

Issue summary

openpose didn't support 1920*1080 video,why?

Thanks.

Executed command (if any)

./.build_release/examples/openpose/openpose.bin --video ~/Downloads/deep\ learning/datasets/mp4/chunxilu1.mp4 --num_gpu 2 --resolution 1920*1080

OpenPose output (if any)

terminate called after throwing an instance of 'std::runtime_error'
what():
Error:
Error, resolution format (1920*1080) invalid, should be e.g., 960x540

Coming from:

  • examples/openpose/openpose.cpp:gflagsToOpParameters():211

Type of issue

You might select multiple topics, delete the rest:

  • Question

Your system configuration

OpenCV version: installed with apt-get install libopencv-dev or OpenCV 2.X or OpenCV 3.X.
OpenCV 3.2
Operating system (lsb_release -a on Ubuntu):
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
CUDA version (cat /usr/local/cuda/version.txt in most cases):
8.0
cuDNN version:
5_5.1
GPU model (nvidia-smi):
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.39 Driver Version: 375.39 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro K2200 Off | 0000:03:00.0 On | N/A |
| 42% 39C P8 1W / 39W | 461MiB / 4040MiB | 3% Default |
+-------------------------------+----------------------+----------------------+
| 1 Quadro K2200 Off | 0000:04:00.0 Off | N/A |
| 42% 40C P8 1W / 39W | 1MiB / 4042MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1011 G /usr/lib/xorg/Xorg 190MiB |
| 0 1796 G compiz 135MiB |
| 0 2324 G ...el-token=658504E00CA47FDB0199A5AA20B8E4EB 134MiB |
+-----------------------------------------------------------------------------+
Caffe version: Default from OpenPose or custom version.
Compiler (gcc --version on Ubuntu):
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.

Crash when processing long-ish video files

When processing longer video files (30s +), i frequently (but somewhat randomly) get a crash & the following error message. When the "--process_real_time" flag is present, the crashes happen always. Running openpose headless in both cases.

command:

./build/examples/openpose/openpose.bin --video media/video.avi --no_display --num_gpu 1 --write_video media/video_out.avi --disable_blending --alpha_pose 0.55

responds:

Starting pose estimation demo.
Starting thread(s)
Empty frame detected. In src/openpose/producer/producer.cpp:checkFrameIntegrity():136
terminate called after throwing an instance of 'std::runtime_error'
what():
Error:
Wrong input element (empty cvInputData).

Coming from:

  • src/openpose/core/cvMatToOpInput.cpp:format():21
  • src/openpose/core/cvMatToOpInput.cpp:format():46
  • ./include/openpose/core/wCvMatToOpInput.hpp:work():76
  • ./include/openpose/thread/subThread.hpp:workTWorkers():138
  • ./include/openpose/thread/subThreadQueueOut.hpp:work():72
  • ./include/openpose/thread/thread.hpp:threadFunction():206

Aborted (core dumped)

The option --process_real_time throws an exception

Issue summary

The option --process_real_time throws an exception trying to start the demo.

Executed command

./build/examples/openpose/openpose.bin --process_real_time

OpenPose output

Starting pose estimation demo.
HIGHGUI ERROR: V4L2: Unable to get property (5) - Invalid argument
terminate called after throwing an instance of 'std::runtime_error'
what():
Error:
Selected to keep the source fps but get(CV_CAP_PROP_FPS) <= 0, i.e. the source did not set its fps property.

Coming from:

  • src/openpose/producer/producer.cpp:setProducerFpsMode():71
  • src/openpose/producer/producer.cpp:setProducerFpsMode():78
  • ./include/openpose/wrapper/wrapper.hpp:configure():726
  • ./include/openpose/wrapper/wrapper.hpp:configure():383

Aborted (core dumped)

Type of issue

Execution error

Your system configuration

OpenCV version: 2.4.9.1
Operating system: Ubuntu 16.04.2 LTS
CUDA version: 8.0.61
cuDNN version: 6.0.21
GPU model: 375.51
Caffe version: Default from OpenPose.
Compiler: 5.4.0 20160609

Save rendered images

Issue summary

Thanks for making the library academic available, I am wondering if there is a way to save images with the body parts locations, with or without background, simply using the demo. I see the video can be simply save as a .avi file with parts locations, but such function is not available for individual images.
Thanks a lot.

Best,
Cindy

Executed command (if any)

OpenPose output (if any)

Type of issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
  • Execution error
  • Help wanted
  • Question
  • Enhancement / offering possible extensions / pull request / etc
  • Other (type your own type)

Your system configuration

Operating system (lsb_release -a on Ubuntu):
CUDA version (cat /usr/local/cuda/version.txt in most cases):
cuDNN version:
GPU model (nvidia-smi):
Caffe version: Default from OpenPose or custom version.
OpenCV version: installed with apt-get install libopencv-dev or OpenCV 2.X or OpenCV 3.X.
Compiler (gcc --version on Ubuntu):

Any plan to add a common body ID between video frames?

Type of issue

  • Enhancement / offering possible extensions

Issue summary

Any plan to add a common body ID between video frames like below?

frame 0

{
    "version":0.1,
    "people":[
        {"body0":[1114.15,160.396,0.846207,...]},
        {"body1":[...]},
    ]
}

frame 1

{
    "version":0.1,
    "people":[
        {"body0":[1116.15,162.396,0.856207,...]},
        {"body1":[...]},
    ]
}

Sometimes I want to extract only a specific body.

[question] Output 3D coordinates available

First of all: This is really something here, really good piece of code and math behind and tricks :-)

I have one question: Can I export 3D coordinates out or it is not in scope of this project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.