AlphaPose
AlphaPose copied to clipboard
cannot import name 'deform_conv_cuda'
I successfully run setup.py, but it still shows cannot import name 'deform_conv_cuda'. How can I solve it?
Did you put force_compile to True at line 124 ?
Yes, and this problem has been solved. But I met another problem. The model weights are being loaded for a long time and there is no response.
GPU: 3090 RAM: 64GB
------------------ 原始邮件 ------------------ 发件人: "MVIG-SJTU/AlphaPose" @.>; 发送时间: 2021年5月31日(星期一) 下午4:43 @.>; 抄送: "Cai @.@.>; 主题: Re: [MVIG-SJTU/AlphaPose] cannot import name 'deform_conv_cuda' (#873)
Did you put force_compile to True at line 124 ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Please be sure that you have put the weights in detector/yolo/data and that the path to your image folder is the good one
This time I reconfigured the environment, but no longer extended cuda, and then I ran successfully, even in my dataset. By necessity, I want to know the body parts corresponding to the results of the 26 key points and 136 key points.
------------------ 原始邮件 ------------------ 发件人: "MVIG-SJTU/AlphaPose" @.>; 发送时间: 2021年5月31日(星期一) 晚上9:28 @.>; 抄送: "Cai @.@.>; 主题: Re: [MVIG-SJTU/AlphaPose] cannot import name 'deform_conv_cuda' (#873)
Please be sure that you have put the weights in detector/yolo/data and that the path to your image folder is the good one
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@cmc370 Check this https://github.com/MVIG-SJTU/AlphaPose/blob/master/docs/output.md
@cmc370 I am facing the same issue. First I installed with setup.py and got the import error. Then I uninstalled alphapose and reinstalled by setting force_compile as true. But now the model weights are taking for ever to load. What do you mean by reconfigure the environment. Should a I create a new environment and install alphapose with force_compile as true?
@cmc370 could you please kindly tell me which environment you run this project..(which version of python, cuda, pytorch).. I've tried a whole day and end with no compatible environment...I'm totally confused...