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

RuntimeError: Not compiled with GPU support #221

Open
Darrenxc opened this issue Jul 25, 2023 · 0 comments
Open

RuntimeError: Not compiled with GPU support #221

Darrenxc opened this issue Jul 25, 2023 · 0 comments

Comments

@Darrenxc
Copy link

Darrenxc commented Jul 25, 2023

After i did these modification #169.
Change the lib/knn/init.py and l ib/loss.py showing below
image

if not refine:
    if idx[0].item() in sym_list:
        target = target[0].transpose(1, 0).contiguous().view(3, -1)
        pred = pred.permute(2, 0, 1).contiguous().view(3, -1)
        # inds = knn(target.unsqueeze(0), pred.unsqueeze(0))
        inds = KNearestNeighbor.apply(target.unsqueeze(0), pred.unsqueeze(0))
        target = torch.index_select(target, 1, inds.view(-1).detach() - 1)
        target = target.view(3, bs * num_p, num_point_mesh).permute(1, 2, 0).contiguous()
        pred = pred.view(3, bs * num_p, num_point_mesh).permute(1, 2, 0).contiguous()

my system
image
torch version
image
ubuntu 16.04

i got this error:
image

Can someone helps? Thank you

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

1 participant