Closed hysts closed 2 years ago
Issue #, if available:
Description of changes:
device
.cuda()
.to(self.device)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes:
device
and replaced.cuda()
with.to(self.device)
to enable inference on CPU.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.