-
Notifications
You must be signed in to change notification settings - Fork 207
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
is it possible to run caffe_rtpose on window system? #17
Comments
ZheC/Realtime_Multi-Person_Pose_Estimation#5 may be helpful. |
i have build the caffe_rtpose success on windows7 vs2013,but the code of the rtpose.cpp in example is too heavy , i have not fixed it correctly. |
Sorry to hear that. We will release in around 1-1.5 months a new optimized version which also removes all Unix libraries, so you will be able to compile it on Windows. |
is windows version in progress? |
The new version (no Unix dependencies other than Caffe) will be released within 1-2 days. Sorry for the inconveniences. |
Hi everyone! Regarding to the new version of the project, coul you please confirm me if it is already released? Thanks in advance! |
|
Thank you for the information. Thanks in advance. Helen |
I did not try it, but yeah, it should run, we do not use any Unix instructions as we are doing here |
Ok, no problem. |
Hi, Note: Code of the source rtpose.cpp from the new openpose library: int main(int argc, char *argv[])
} |
It is possible to run a video from the demo. But, thanks anyway. |
Can you give the data you used to train for the model? I find 189G mdb file from your URL but cannot find raw data.
Regards
…------------------ 原始邮件 ------------------
发件人: "hemecha";<notifications@github.com>;
发送时间: 2017年5月9日(星期二) 下午4:27
收件人: "CMU-Perceptual-Computing-Lab/caffe_rtpose"<caffe_rtpose@noreply.github.com>;
抄送: "Subscribed"<subscribed@noreply.github.com>;
主题: Re: [CMU-Perceptual-Computing-Lab/caffe_rtpose] is it possible to runcaffe_rtpose on window system? (#17)
It is possible to run a video from the demo. But, thanks anyway.
Regards
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi xiaosibai, Regards |
Hi hemecha,
5.. If you remember the procedure install and run openpose on window, please teach it for me. Thank you to read my sentences and have a good day! |
Hi orientalh, You can find below the answers to your question:
With the authorization of the author, I will publish soon another branch with more details about how to set up the library in Windows. Regards, Helen |
Hi hemecha, thank you to reply I have some questions about your reply
Thank you very much^^ |
Hi orientalh, I am still working in this project, so probably I won´t be able to answer all your questions, but I will try. Question 1. You don´t need Ubuntu, you can use visual studio instead. Question 2. I use OpenCV3.10. Actually if you follow the instructions to install caffe in Windows. The script download all the dependencies it needs to install Caffe in Windows. Question 3. Yes you need to install Windows in Visual Studio 2015,because Visual Studio 2013 doesn´t support all c++11 features, so it will give you issues during the compilation of the library. Question 4. I don´t see why you cannot do that. You can also modify the library to meet your requirements. But, I think the authors of the library can answer you better this question. I hope it helps. Regards. |
Hi @orientalh, we are working with hemecha in order to release a Windows version soon. You are free to either try to implement it yourself too or you might simply wait for us to release a first version, up to your priorities! Thanks! |
Hi hemecha and gineshidalgo99 Actually i install visual studio2015, opencv3.1, cuda8, cudnn5 and caffe on window10. At first i just want to run demo with webcam on window. In the doc the instruction is "/build/examples/openpose/openpose.bin." How can i run this demo on window?? Can you give me some guidelines? Thank you, and have a nice day^^ |
Hi, In my case, I follow these steps:
For the examples (rtpose):
|
I declared M_PI = 3.1416 and casted the other variables. I'm now trying to fix the new 159 errors I get. I also had to #define USE_CAFFE. |
I am currently refining and preparing a first release for OpenPose on Windows. I hope to release it by this week. |
Alright, thank you for the quick reply. I'm still trying to make it work. |
Hi,
I had that issue as well. I fixed adding:
#define _USE_MATH_DEFINES
#include <math.h>
I worked for me.
Regards,
Helen
…On 16 May 2017 at 21:30, AntonN11 ***@***.***> wrote:
Alright, thank you for the quick reply. I'm still trying to make it work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADrfhLU8b6C7hfFbs14TzwLZoc_Oj5INks5r6gdIgaJpZM4MANCH>
.
|
Hi Ginés, I can see Openpose has different parameters to configure it. Could you tell me please if there is an specific parameter to improve the optimization of the program? Thanks in advance. |
Hi, You could change "unsigned char" for "unsigned int". It worked for me. Not sure why "unsgined char" raise the exception, it should work. If someone knows it, please let me know. If you apply the change above, probably you will need to make some changes in order to compile the library. However, they are minor changes, only change "unsigned char" for "unsigned int". const std::map<unsigned int, std::string> POSE_COCO_BODY_PARTS {...} Regards. |
Hi AntonN11, That variables shouldn't be empty, because they are initialized. Probably, that issue is related with the debug mode (not sure). However, if you are in a hurry you could comment out the variable POSE_BODY_PART_MAPPING and wherever it is used, you can replace it with the model pose defined for coco or MPI. I hope it helps. |
Hi orientalh,
|
Hi everyone, I have just verified in another machine, that as you have said before the variables are empty. It seems they are empty because for some reason the system is using POSE_BODY_PART_MAPPING, before defining POSE_COCO_BODY_PARTS. If I am able to fi the issue I will let you know. Regards. |
And thank you for your help helen-medina, I appreciate it. |
That error could be caused because the card graphic is not supported by the Cudann. In order to run Cudann, you need at least compute capabality 3.0. You can check here below the minimum requirements: https://developer.nvidia.com/cudnn |
Maybe a bad Caffe compilation, Cuda configuration flag... |
You configuration seems correct. You could try that. When compiling caffe, enable Cuda compilation : The rest of flag should be OK. |
Good to know. And here is what I get when executing this command file : I guess I'll try to compile a Caffe version using VS2015 directly (with Cuda compilation). See if it helps. |
In my case I didn´t used Ninja. I used Visual studio 2015 and miniconda (I had issues with python). The rest of the parameters seems correct. I upload a branch for windows , it is not finished because it had some issues, but some of them has been fixed for you (Thank you very much for that). In this link below you can check the parameters I used to build caffe, but your seems correct as well: Regards. |
Perfect, I'll try that. Thank you. |
It seems like it's the same problem as I'm stuck at, but in Release mode. |
I am sorry but the CPU version is not finished (and not planned to be finished due to be extremely slow), it would give you a exception with a message: code not implemented or something similar. |
It is really good news. But, it should work from command line or from
visual studio. Maybe visual studio I can't find the path to the models or
the images. It is the only idea I can think.
…On 23 May 2017 20:17, "AntonN11" ***@***.***> wrote:
Good news! I got it to work on Windows 👍
[image: image]
<https://cloud.githubusercontent.com/assets/28739893/26369281/2e3a25be-3fc2-11e7-97d2-8f8f8cf9bfd3.png>
I tried the example using a couple of images and it worked. For some
obscure reason(s), it will only work if I call it in cmd line.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADrfhAiQVH5ZM9uw_9SEEsK8S-SIFKtzks5r8yKdgaJpZM4MANCH>
.
|
Hi Oriental,
About that error it seems to me that the application can't find the model.
Did you download the models? If not, I suggest to check the models.
If you go models folder you will find an script. In that script you will
find the links to download the cxo model and Mpi model.
Regards.
On 23 May 2017 22:42, "Helen Medina" <helen.medina.chanca@gmail.com> wrote:
It is really good news. But, it should work from command line or from
visual studio. Maybe visual studio I can't find the path to the models or
the images. It is the only idea I can think.
…On 23 May 2017 20:17, "AntonN11" ***@***.***> wrote:
Good news! I got it to work on Windows 👍
[image: image]
<https://cloud.githubusercontent.com/assets/28739893/26369281/2e3a25be-3fc2-11e7-97d2-8f8f8cf9bfd3.png>
I tried the example using a couple of images and it worked. For some
obscure reason(s), it will only work if I call it in cmd line.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADrfhAiQVH5ZM9uw_9SEEsK8S-SIFKtzks5r8yKdgaJpZM4MANCH>
.
|
So far so good. I tried a gtx980 and my max fps is 7.3. For some reason, I can only get up to 6.1fps on a M6000 Quadro... I have to figure out why it doesn't work with the video ".avi" file or the webcam. |
If anyone finds a way to get up to 30fps, let us know how you did it. |
We will release a faster model in 1-3 weeks, it should get ~30-50% speed up. That + reducing |
Good to know. Thank you. |
Alright. Using a smaller net_resolution (320x176), I got 20.5fps (GTX980 + MPI_4_layers)! the detection is not bad, but there is a difference. |
Please, from now on, keep asking all these questions though the Pull Request created by Helen. So we can have only 1 centralized message thread for Windows until we release it. UPDATE: The Windows branch has been added to OpenPose: https://github.com/CMU-Perceptual-Computing-Lab/openpose |
I compiled caffe window version on window environment but I don't know it is possible to compile caffe_rtpose. Could you give me some advises about this problem?
The text was updated successfully, but these errors were encountered: