Closed erastogi closed 1 year ago
I have never worked with multiple GPUs so not sure if I can help on that, but from a glance at your code, you may want to change .type(torch.ByteTensor)
to .bool()
because torch.ByteTensor
is for tensors on CPU. Let me know if this solves the issue.
It worked, thanks a ton!!
I am running the following code:
However, I am getting the following error:
What would be the best way to run crf on multiple GPUs?