Skip to content
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

Run with CPU #6

Open
nuaayxy opened this issue May 28, 2022 · 4 comments
Open

Run with CPU #6

nuaayxy opened this issue May 28, 2022 · 4 comments

Comments

@nuaayxy
Copy link

nuaayxy commented May 28, 2022

is there a way to run the demo with Cpu only?
I am having so many errors getting the DCNv2 working with cuda......

@Uio96
Copy link
Contributor

Uio96 commented Jun 14, 2022

Sorry. I have not tried CPU-only before. Maybe it has some trouble with DCNv2. You can try our provided weights with resnet instead.

@nuaayxy
Copy link
Author

nuaayxy commented Jun 23, 2022

Tried resnet still not working

File "/home/usr/CenterPose/src/lib/models/networks/DCNv2/dcn_v2.py", line 128, in forward
self.deformable_groups)
File "/home/usr/CenterPose/src/lib/models/networks/DCNv2/dcn_v2.py", line 31, in forward
ctx.deformable_groups)
RuntimeError: Not compiled with GPU support (dcn_v2_forward at /home/usr/CenterPose/src/lib/models/networks/DCNv2/src/dcn_v2.h:35)

@Uio96
Copy link
Contributor

Uio96 commented Jun 23, 2022

Tried resnet still not working

File "/home/usr/CenterPose/src/lib/models/networks/DCNv2/dcn_v2.py", line 128, in forward self.deformable_groups) File "/home/usr/CenterPose/src/lib/models/networks/DCNv2/dcn_v2.py", line 31, in forward ctx.deformable_groups) RuntimeError: Not compiled with GPU support (dcn_v2_forward at /home/usr/CenterPose/src/lib/models/networks/DCNv2/src/dcn_v2.h:35)

You probably have to comment the codes related to DCNv2 (e.g., import stuff), then have another try.

@nuaayxy
Copy link
Author

nuaayxy commented Jun 28, 2022

code is tightly coupled with DCNv2 everywhere, no way to comment it out and have working sample

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants