human-pose-estimation.pytorch
human-pose-estimation.pytorch copied to clipboard
Windows 10 installing pycocotools fails with make.
I followed the instructions and I have "make" on windows 10 from GNU I believe. Anyways the error I got is
# install pycocotools to the Python site-packages
process_begin: CreateProcess(NULL, # install pycocotools to the Python site-packages, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [install] Error 2
Not sure what file I am missing.
We have not tried it on Windows.
you can install it through pip -> pip install pycocotools
See here https://github.com/philferriere/cocoapi. I used anaconda3 to install pycocotools on windows 10. You do not need to make, python setup.py install works for me.
@strawberryfg Hi, can you run this project correctly on windows system? I can not compile nms file by setup.py. Could you give me some advice?
try installing this version https://github.com/eldar/pose-tensorflow/tree/master/lib/coco
@Hliang1994 Sorry I haven't tested this project. I do not need nms file. As far as I know there might be some incompatibility between anaconda python3 version and lib packages. Sometimes downgrade version to 3.5 or lower will probably help? Well I think what you can do is to use Ubuntu. It's way easier to run projects.
@strawberryfg Thank you all the same! I have tried many times and used others' method to complie the gpu_nms. Finally, I succeed in running the demo on the windows7. Though this process is extremely discomfort.
@Hliang1994 Glad to hear that. I can feel your pain. BTW, you might consider transferring weights to other deep learning framework that you are familiar with. For one, this one https://github.com/xxradon/PytorchToCaffe is super easy to use.
@Hliang1994 could you share some steps on how you accomplished that? i am still having trouble :(
@Hliang1994 What does your error message show? I have converted the pretrained model from this page https://github.com/mks0601/Integral-Human-Pose-Regression-for-3D-Human-Pose-Estimation. And I think what we are talking about now has departed from this repo. It's better off to close this issue?
@strawberryfg Hi, I can run the train.py and valid.py correctly on my windows7 with GTX1070. The pretrained model I used was download from the ReadMe. I am sorry that I haven' t use the page you provided.
@richipower I compile my gpu_nms mainly consulting this page https://github.com/eragonruan/text-detection-ctpn/issues/264. And finally I got the file "gpu_nms.cp36-win_amd64.pyd". But I first run "cython gpu_nms.pyx" before his step 1. You can have a try!
@inkplay for installing pycocotools use following command pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
@Hliang1994 I am a beginner, please can ask in detail, you are how to run under win7
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI does not work for me. It runs but errors
I' m sorry, I haven't worked on this project for a long time, and I've forgotten about it now. However, I suggest that you can use Ubuntu virtual machine on windows, which is very convenient.
------------------ 原始邮件 ------------------ 发件人: "qk-z"<[email protected]>; 发送时间: 2020年4月3日(星期五) 中午12:54 收件人: "microsoft/human-pose-estimation.pytorch"<[email protected]>; 抄送: "北师大-洪慕竹"<[email protected]>; "Mention"<[email protected]>; 主题: Re: [microsoft/human-pose-estimation.pytorch] Windows 10 installing pycocotools fails with make. (#61)
@Hliang1994 I am a beginner, please can ask in detail, you are how to run under win7
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Thank you!