mmskeleton icon indicating copy to clipboard operation
mmskeleton copied to clipboard

How to install correctly in windows 10?

Open Maitreya229 opened this issue 3 years ago • 7 comments

Dear All,

Environment: Winsows 10 VS2019 pro(14.28.29910) CUDA 10.0

I follow the official steps on Getting Started

When I tried to install mmskeleton, an error message appeared.

Does anyone install mmskeleton correctly on win10? Can you provide installation steps and environment configuration?

Thank you a lot!!

The Error Message (open-mmlab) PS C:\mmskeleton> python setup.py develop C:\ProgramData\Anaconda3\envs\open-mmlab\lib\site-packages\setuptools\dist.py:461: UserWarning: Normalizing '0.7.rc1+b4c076b' to '0.7rc1+b4c076b' warnings.warn(tmpl.format(**locals())) running develop running egg_info writing mmskeleton.egg-info\PKG-INFO writing dependency_links to mmskeleton.egg-info\dependency_links.txt writing requirements to mmskeleton.egg-info\requires.txt writing top-level names to mmskeleton.egg-info\top_level.txt reading manifest file 'mmskeleton.egg-info\SOURCES.txt' writing manifest file 'mmskeleton.egg-info\SOURCES.txt' running build_ext building 'mmskeleton.ops.nms.gpu_nms' extension C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWITH_CUDA -Immskeleton\ops\nms -IC:\ProgramData\Anaconda3\envs\open-mmlab\lib\site-packages\numpy\core\include -IC:\ProgramData\Anaconda3\envs\open-mmlab\lib\site-packages\torch\include -IC:\ProgramData\Anaconda3\envs\open-mmlab\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ProgramData\Anaconda3\envs\open-mmlab\lib\site-packages\torch\include\TH -IC:\ProgramData\Anaconda3\envs\open-mmlab\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -IC:\ProgramData\Anaconda3\envs\open-mmlab\include -IC:\ProgramData\Anaconda3\envs\open-mmlab\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /EHsc /Tpmmskeleton\ops\nms\gpu_nms.cpp /Fobuild\temp.win-amd64-3.7\Release\mmskeleton\ops\nms\gpu_nms.obj /MD /wd4819 /EHsc -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=gpu_nms -D_GLIBCXX_USE_CXX11_ABI=0 gpu_nms.cpp C:\ProgramData\Anaconda3\envs\open-mmlab\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION mmskeleton\ops\nms\gpu_nms.cpp(2035): warning C4244: '=': 將 'npy_intp' 轉換為 'int',由於類型不同,可能導致資料遺失 mmskeleton\ops\nms\gpu_nms.cpp(2044): warning C4244: '=': 將 'npy_intp' 轉換為 'int',由於類型不同,可能導致資料遺失 mmskeleton\ops\nms\gpu_nms.cpp(2246): error C2664: 'void _nms(int *,int *,const float *,int,int,float,int)': 無法將引數 1 從 '__pyx_t_5numpy_int32_t *' 轉換為 'int *' mmskeleton\ops\nms\gpu_nms.cpp(2246): note: 指向的類型沒有相關; 轉換必須有 reinterpret_cast、C-Style 轉換或函式樣式轉換 C:\mmskeleton\mmskeleton\ops\nms\gpu_nms.hpp(1): note: 請參閱 '_nms' 的宣告 error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe' failed with exit status 2

Maitreya229 avatar Aug 06 '21 09:08 Maitreya229

did you fix this problem mate? i have the exact same issue.

JonnoNield avatar Nov 14 '21 22:11 JonnoNield

same problem here too !

AmineManso avatar Feb 02 '22 15:02 AmineManso

i have the same problem. did you fix this problem mate? please tell me, thank you!

jermycc avatar Apr 22 '22 14:04 jermycc

Sorry guys no luck. I resorted to using their original method, STGCN. It's on github, not the best but it's ok for research I'm doing.

Jonathan Nield Phd Student, Academic tutor, Research Assistant Discipline of ICT | School of Technology, Environments and Design College of Sciences and Engineering University of Tasmania Private Bag 87, Hobart TAS 7001 T +61 428 429 494tel:+61428429494 Web: www.utas.edu.au/engineering-ict/icthttps://www.utas.edu.au/engineering-ict/ict


From: jermycc @.> Sent: Saturday, April 23, 2022 12:40:53 AM To: open-mmlab/mmskeleton @.> Cc: Jonathan Nield @.>; Comment @.> Subject: Re: [open-mmlab/mmskeleton] How to install correctly in windows 10? (#427)

i have the same problem. did you fix this problem mate? please tell me, thank you!

— Reply to this email directly, view it on GitHubhttps://github.com/open-mmlab/mmskeleton/issues/427#issuecomment-1106584075, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOZYVENBJBMCMJDPLII42TTVGK27LANCNFSM5BVQHPAQ. You are receiving this because you commented.Message ID: @.***>

This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.

JonnoNield avatar Apr 22 '22 19:04 JonnoNield

this problem have been resolved?

jackyCao2016 avatar Oct 16 '22 01:10 jackyCao2016

same issue faced here, despite trying several methods from https://stackoverflow.com/questions/50494411/error-command-c-visual-studio-2017-community-vc-tools-msvc-14-14-2642

bkleck avatar Oct 28 '22 15:10 bkleck

same question....

Alexwangziyu avatar Jun 23 '23 01:06 Alexwangziyu