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
CenterNet works ok on Pytorch 1.1 + Cuda10.1 + Win10 #7
Comments
非常感谢! |
Thanks! |
Why I got the message when I ran nms : |
Have you compiled nms? |
how to compile in windows and run sh |
I have Git for Windows, |
external is failed |
Pytorch 1.0.1 + Cuda9.0 + Win10 (CenterNet) D:\research\CenterNet-master\src>python demo.py ctdet --demo D:\research\CenterNet-master\images\17790319373_bd19b24cfc_k.jpg --load_model D:\research\CenterNet-master\models\ctdet_coco_dla_1x.pth |
@mk123qwe I think you should load model in this way: |
The demo provided by the author is correct and I can't modify it. |
@ausk Hi, you mentioned replace DCNv2 using the original repo. Could you tell me detail? Just can't get DCNV2 compile done correctly... |
maybe you install using python2, but run using python3 |
3q |
@ausk 非常感谢 我跑成功了 |
@ausk Hi, Gentle, I just follow by your suggestion , but I get a import error in dcn_v2.py 'import _ext as _backend' , 'No module named _ext' ,what's this _ext package really about? |
I think I have met the same problem ,but the _ext import error is in dcnv2.py , and the '_ext' is a CUDAExtension name , but how to solve it ? LOL |
|
@heartInsert 我的环境:win10+cuda10+torch1.1.0+python36 关于: 我这边是这样解决的: |
Okay,我跑起来啦 |
How do you solve this propblem ,I have the same question with you |
CenterNet-master\src\lib\external>python setup.py install just comment the parameter in
|
If you are a girl , I think I will say 'I love you ' |
@ausk I compiled the NMS, but it didn't work ,a warning Extension name 'nms' does not match fully qualified name 'external.nms' of 'nms.pyx',What should I do ,Thanks |
@ausk cuda 9 doesn't your method work? i compiled DCNv2 error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2? |
I get this Error. how to solve it? thx |
have you solve it? I get the same error |
follwing the instruction when running 'python setup.py build develp' ran into error |
@shivareddy37 (Sorry for the confusing format)
I sloved by change the DCNv2 from DCNv2_latest. (BTY, changingTHCState_getCurrentStreamtoc10::cuda::getCurrentCUDAStream` may be useful, maybe not, you can try). Thanks. |
(BTY, changing |
@xingyizhou please update INSTALL.md according to this |
@ausk Excuse me. I try to run CenterNet code on env( Pytorch 1.6 + Cuda10.1 + Win10). I can't run the demo.py directly. So I find your issue. I follow your steps, I try to address the problem by installing the visual studio 2017, and set the path of cl. Meanwhile I open the Visual C++ 2015 x64 Native Build Tools Command Prompt. In this tool, input cl can find the cl.exe, I do the step 1 also, but it's the same problem: |
@ausk Thank you for sharing the installation recipe, I am trying to run CenterNet on pytorch 1.6, I followed your steps and I'm failing on the second stage, building the DCNv2 from the original repo.
outputs: Any idea how to overcome and build for pytorch 1.6? Thanks in advance |
After 3 days of trying, I work it out. VS2015 and VS2019 don't work! |
|
I got this error when I ran it: C:\Users\sopul\CenterNet\src\lib\external>make |
hello,I would like to run this modify in my Pytorch 1.9 + Cuda10.2 + Win10 , so I try this mode this suggestion .but when I build nms, I follow the guide run
but I meet a bug ValueError: 'nms.pyx' doesn't match any files
|
I got this error when I am running this code Error: Anyone knows how to solve this? |
I'm also get this problem,so have you resolved the problems? |
我已收到来信 会尽快回复Your message has been received and I will reply it as soon as possible.
|
你好,我已收到你的来信。
|
I have installed vs2017 but still report this error, how to solve it |
Thanks a Lot. After effort of one week i successfully ran demo with windows 10, pytorch 1.1.0. I wish i had read this issue |
Can you make tutorial to do this, please! |
我已收到来信 会尽快回复Your message has been received and I will reply it as soon as possible.
|
已收到
|
Has anyone managed with torch 2.0.1?
|
已收到
|
你好,我已收到你的来信。
|
First thanks for authors' great work.
This is not an issue. But I just want to say that
CenterNet
works ok onPytorch 1.1 + Cuda10.1 + Win10
:.Just
clone CenterNet, compile the nms and DCNv2, download the models, and run the demo
.1. build nms
just comment the parameter in
setup.py
when building 'nms' extension to solveinvalid numeric argument '/Wno-cpp'
:2. clone and build original DCN2
You may fail to compile DCNv2 when using
Pytorch 1.x
, because torch.utils.ffi is deprecated. Then replace DCNv2 using the original repo and [Solved] dcn_v2_cuda.obj : error LNK2001: unresolved external symbol state caused by extern THCState *state; by modifing the line DCNv2/blob/master/src/cuda/dcn_v2_cuda.cu#L11:3. test
The text was updated successfully, but these errors were encountered: