mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
Set device bc I apparently forgot to do that
This commit is contained in:
parent
d76075fbfa
commit
4522c9561b
@ -38,6 +38,8 @@ __all__ = [
|
||||
|
||||
import torch
|
||||
|
||||
#set device
|
||||
device='cuda:0' if torch.cuda.is_available() else 'cpu'
|
||||
|
||||
#todo: document completely
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user